Borderou de evaluare (job #342115)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Apropiate1 (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 ian. 2018 10:56:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘ifstream’ does not name a type
user.cpp:5:1: error: ‘ofstream’ does not name a type
user.cpp: In function ‘void read()’:
user.cpp:29:3: error: ‘cin’ was not declared in this scope
user.cpp:38:28: error: ‘cout’ was not declared in this scope
user.cpp:38:37: error: ‘endl’ was not declared in this scope
user.cpp:38:37: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note: ‘std::endl’
user.cpp:39:17: error: ‘cout’ was not declared in this scope
user.cpp:39:26: error: ‘endl’ was not declared in this scope
user.cpp:39:26: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note: ‘std::endl’
user.cpp:40:6: error: expected ‘;’ before ‘else’
user.cpp:41:16: error: ‘cout’ was not declared in this scope
user.cpp:41:25: error: ‘endl’ was not declared in this scope
user.cpp:41:25: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note: ‘std::endl’
user.cpp:43:8: error: ‘cout’ was not declared in this scope
user.cpp:43:17: error: ‘endl’ was not declared in this scope
user.cpp:43:17: note: suggested alternative:
/usr/include/c++/4.6/ostream:543:5: note: ‘std::endl’
user.cpp: At global scope:
user.cpp:46:11: error: ‘::main’ must return ‘int’