제출 #138125

#제출 시각아이디문제언어결과실행 시간메모리
138125Sorting말 (IOI15_horses)C++14
0 / 100
26 ms4472 KiB
#include <bits/stdc++.h> using namespace std; long long init(int _n, int _x[], int _y[]){ } long long updateX(int pos, int val){ } long long updateY(int pos, int val){ }

컴파일 시 표준 에러 (stderr) 메시지

horses.cpp: In function 'long long int init(int, int*, int*)':
horses.cpp:7:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
horses.cpp:5:20: warning: unused parameter '_n' [-Wunused-parameter]
 long long init(int _n, int _x[], int _y[]){
                    ^~
horses.cpp:5:31: warning: unused parameter '_x' [-Wunused-parameter]
 long long init(int _n, int _x[], int _y[]){
                               ^
horses.cpp:5:41: warning: unused parameter '_y' [-Wunused-parameter]
 long long init(int _n, int _x[], int _y[]){
                                         ^
horses.cpp: In function 'long long int updateX(int, int)':
horses.cpp:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
horses.cpp:9:23: warning: unused parameter 'pos' [-Wunused-parameter]
 long long updateX(int pos, int val){
                       ^~~
horses.cpp:9:32: warning: unused parameter 'val' [-Wunused-parameter]
 long long updateX(int pos, int val){
                                ^~~
horses.cpp: In function 'long long int updateY(int, int)':
horses.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
horses.cpp:13:23: warning: unused parameter 'pos' [-Wunused-parameter]
 long long updateY(int pos, int val){
                       ^~~
horses.cpp:13:32: warning: unused parameter 'val' [-Wunused-parameter]
 long long updateY(int pos, int val){
                                ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...