Borderou de evaluare (job #229593)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sort2dist (clasa a 8-a) | Compilator | cpp |
Rundă | ONI (clasa a 8-a) | Status | evaluat |
Dată | 31 mar. 2016 20:23:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void myqsort(int, int, int*)’:
user.cpp:10:24: error: ‘comp’ was not declared in this scope
user.cpp:11:24: error: ‘comp’ was not declared in this scope
user.cpp:13:16: error: ‘swap’ was not declared in this scope
user.cpp:8:7: warning: unused variable ‘aux’ [-Wunused-variable]
user.cpp: In function ‘int swap(int, int)’:
user.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
user.cpp: In function ‘int main()’:
user.cpp:71:5: error: ‘nr2’ was not declared in this scope
user.cpp:73:22: error: expected ‘}’ at end of input
user.cpp:57:8: warning: unused variable ‘fout’ [-Wunused-variable]
user.cpp:73:22: error: expected ‘}’ at end of input
user.cpp:59:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function ‘int comp(int, int)’:
user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]