Borderou de evaluare (job #79650)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adunare | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 oct. 2014 10:11:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:5: error: stray ‘#’ in program
user.cpp:2:7: error: expected nested-name-specifier before ‘namescape’
user.cpp:2:7: error: ‘namescape’ has not been declared
user.cpp:2:17: error: expected ‘;’ before ‘std’
user.cpp:2:17: error: ‘std’ does not name a type
user.cpp:3:1: error: ‘ifstream’ does not name a type
user.cpp:4:1: error: ‘ofstream’ does not name a type
user.cpp: In function ‘int main()’:
user.cpp:7:5: error: ‘f’ was not declared in this scope
user.cpp:7:8: error: ‘a’ was not declared in this scope
user.cpp:7:11: error: ‘b’ was not declared in this scope
user.cpp:8:5: error: ‘g’ was not declared in this scope
user.cpp:10:5: error: expected ‘;’ before ‘return’
user.cpp:10:15: error: ‘include’ was not declared in this scope
user.cpp:10:24: error: ‘iostream’ was not declared in this scope
user.cpp:10:24: note: suggested alternative:
/usr/include/c++/4.6/iosfwd:141:34: note: ‘std::iostream’
user.cpp:12:1: error: expected primary-expression before ‘using’
user.cpp:12:1: error: expected ‘;’ before ‘using’
user.cpp:13:5: error: ‘ifstream’ was not declared in this scope
user.cpp:13:5: note: suggested alternative:
/usr/include/c++/4.6/iosfwd:159:34: note: ‘std::ifstream’
user.cpp:13:14: error: expected ‘;’ before ‘f’
user.cpp:14:5: error: ‘ofstream’ was not declared in this scope
user.cpp:14:5: note: suggested alternative:
/usr/include/c++/4.6/iosfwd:162:34: note: ‘std::ofstream’
user.cpp:14:14: error: expected ‘;’ before ‘g’
user.cpp:17:2: error: a function-definition is not allowed here before ‘{’ token
user.cpp:23:2: error: expected ‘}’ at end of input