Borderou de evaluare (job #694021)

Utilizator avatar DavidGI Gheorghica Istrate David DavidGI IP ascuns
Problemă 235 (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 feb. 2023 22:13:41 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:1: error: 'ifstream' does not name a type 2 | ifstream fin("235.in"); | ^~~~~~~~ main.cpp:3:1: error: 'ofstream' does not name a type 3 | ofstream fout(" 235.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:22:3: error: 'fin' was not declared in this scope; did you mean 'sin'? 22 | fin >> n; | ^~~ | sin main.cpp:31:3: error: 'fout' was not declared in this scope 31 | fout<<k<<endl; | ^~~~ main.cpp:40:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 40 | if(is_power_of_5(v[j])) | ^~ main.cpp:42:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | if(cc==tc) | ^~