Borderou de evaluare (job #723665)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Abc 1 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 iun. 2023 13:09:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: 'abc1' was not declared in this scope
4 | ifstream in(abc1.in);
| ^~~~
main.cpp:5:14: error: 'abc1' was not declared in this scope
5 | ofstream out(abc1.out);
| ^~~~
main.cpp: In function 'int NumC(int, int)':
main.cpp:33:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
33 | if(a==4)
| ^
main.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
70 | }
| ^