Borderou de evaluare (job #654520)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Concurs (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 6 iul. 2022 16:02:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:2: error: stray '#' in program
10 | a#include <fstream>
| ^
main.cpp:10:1: error: 'a' does not name a type
10 | a#include <fstream>
| ^
main.cpp:12:13: error: variable 'std::ifstream fin' has initializer but incomplete type
12 | ifstream fin("concurs.in");
| ^
main.cpp:13:14: error: variable 'std::ofstream fout' has initializer but incomplete type
13 | ofstream fout("concurs.out");
| ^
main.cpp:14:5: error: redefinition of 'int main()'
14 | int main()
| ^~~~
main.cpp:5:5: note: 'int main()' previously defined here
5 | int main()
| ^~~~