Borderou de evaluare (job #41046)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Inimioare (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 ian. 2014 15:51:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat]
user.cpp:22:5: error: expected primary-expression before ‘for’
user.cpp:22:5: error: expected ‘;’ before ‘for’
user.cpp:22:19: warning: statement has no effect [-Wunused-value]
user.cpp:22:24: error: expected ‘;’ before ‘)’ token
user.cpp:7:18: warning: unused variable ‘cn’ [-Wunused-variable]
user.cpp:7:27: warning: unused variable ‘maxx’ [-Wunused-variable]
user.cpp:7:38: warning: unused variable ‘s1’ [-Wunused-variable]
user.cpp:7:43: warning: unused variable ‘f’ [-Wunused-variable]
user.cpp:7:45: warning: unused variable ‘c’ [-Wunused-variable]
user.cpp:7:56: warning: unused variable ‘d’ [-Wunused-variable]
user.cpp:7:58: warning: unused variable ‘d1’ [-Wunused-variable]
user.cpp:7:61: warning: unused variable ‘d2’ [-Wunused-variable]
user.cpp:7:64: warning: unused variable ‘d3’ [-Wunused-variable]
user.cpp:7:79: warning: unused variable ‘b1’ [-Wunused-variable]
user.cpp:7:82: warning: unused variable ‘b2’ [-Wunused-variable]
user.cpp:7:85: warning: unused variable ‘b3’ [-Wunused-variable]
user.cpp:7:88: warning: unused variable ‘b4n’ [-Wunused-variable]
user.cpp:7:98: warning: unused variable ‘maxxul’ [-Wunused-variable]
user.cpp:35:1: error: expected ‘}’ at end of input
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:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:8:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:10:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]