Borderou de evaluare (job #595497)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 apr. 2021 17:29:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:12: error: expected initializer before '<' token
4 | fstream in <"comune.in">;
| ^
main.cpp:5:14: error: expected initializer before '<' token
5 | ofstream out <"comune.out">;
| ^
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'in' was not declared in this scope; did you mean 'int'?
9 | in>>a>>b;
| ^~
| int
main.cpp:16:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
16 | if (ca=cb)
| ~~^~~
main.cpp:25:5: error: 'out' was not declared in this scope
25 | out<<c;
| ^~~