Borderou de evaluare (job #210712)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere2 (clasa a 7-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 feb. 2016 09:43:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:29: error: too few arguments to function ‘FILE* freopen(const char*, const char*, FILE*)’
/usr/include/stdio.h:279:14: note: declared here
user.cpp:6:30: error: too few arguments to function ‘FILE* freopen(const char*, const char*, FILE*)’
/usr/include/stdio.h:279:14: note: declared here
user.cpp:7:9: error: redeclaration of ‘int n’
user.cpp:4:9: error: ‘int n’ previously declared here
user.cpp:7:11: error: redeclaration of ‘int i’
user.cpp:4:11: error: ‘int i’ previously declared here
user.cpp:7:13: error: redeclaration of ‘int nr’
user.cpp:4:13: error: ‘int nr’ previously declared here
user.cpp:7:16: error: redeclaration of ‘int k’
user.cpp:4:16: error: ‘int k’ previously declared here
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]