Borderou de evaluare (job #633702)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Case (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 feb. 2022 15:33:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:14: error: variable 'std::ifstream h' has initializer but incomplete type
7 | ifstream h("case.in");
| ^
main.cpp:8:14: error: variable 'std::ofstream g' has initializer but incomplete type
8 | ofstream g("case.out");
| ^
main.cpp:13:10: error: 'X' was not declared in this scope
13 | f>>X
| ^
main.cpp:17:13: error: expected ';' before 'if'
17 | c=x%10
| ^
| ;
18 | if(r==1)r1++;
| ~~
main.cpp:23:10: warning: statement has no effect [-Wunused-value]
23 | C+C+c;
| ~~~^~