Borderou de evaluare (job #51951)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Divizor (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 feb. 2014 14:14:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:28:24: warning: missing terminating ' character [enabled by default]
user.cpp:28:13: error: missing terminating ' character
user.cpp: In function ‘int main()’:
user.cpp:7:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat]
user.cpp:13:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat]
user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat]
user.cpp:29:5: error: expected ‘;’ before ‘return’
user.cpp:6:32: warning: unused variable ‘b’ [-Wunused-variable]
user.cpp:6:34: warning: unused variable ‘x’ [-Wunused-variable]
user.cpp:6:36: warning: unused variable ‘y’ [-Wunused-variable]
user.cpp:6:38: warning: unused variable ‘z’ [-Wunused-variable]
user.cpp:6:50: warning: unused variable ‘k’ [-Wunused-variable]
user.cpp:4:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]