Borderou de evaluare (job #666986)

Utilizator avatar sindobati Natalia Nazarcu sindobati IP ascuns
Problemă Cabina (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 oct. 2022 12:10:57 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:13: error: variable 'std::ifstream in' has initializer but incomplete type 3 | ifstream in ("cabina.in"); | ^ main.cpp:4:14: error: variable 'std::ofstream out' has initializer but incomplete type 4 | ofstream out ("cabina.out"); | ^ main.cpp: In function 'int main()': main.cpp:17:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 17 | else | ^~~~ main.cpp:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 19 | if(i>=3) | ^~ main.cpp:13:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 13 | if(i!=1) | ^