Borderou de evaluare (job #547140)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pion | Compilator | cpp |
Rundă | lasm_19_03_2020_11 | Status | evaluat |
Dată | 19 mar. 2020 18:21:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:1: error: expected ‘}’ before ‘else’
user.cpp: At global scope:
user.cpp:32:1: error: ‘cout’ does not name a type
user.cpp:33:1: error: ‘i’ does not name a type
user.cpp:34:1: error: expected unqualified-id before ‘while’
user.cpp:39:1: error: ‘cout’ does not name a type
user.cpp:40:1: error: expected unqualified-id before ‘return’
user.cpp:41:1: error: expected declaration before ‘}’ token
user.cpp: In function ‘int main()’:
user.cpp:8:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]