Borderou de evaluare (job #697908)

Utilizator avatar Casian Casian Teodorescu Casian IP ascuns
Problemă Sir4 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 feb. 2023 14:42:09 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:15: error: variable 'std::ifstream cin' has initializer but incomplete type 15 | ifstream cin("sir4.in"); | ^ main.cpp:16:18: error: variable 'std::ofstream cout' has initializer but incomplete type 16 | ofstream cout("sir4.out"); | ^ main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 31 | for(i=0;i<cnt;i++) | ^~~ main.cpp:33:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 33 | cout<<" "<<0; | ^~~~