Borderou de evaluare (job #692823)

Utilizator avatar StefanDutu Dutu Stefan StefanDutu IP ascuns
Problemă Prime (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2023 13:01:55 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for ( int i = d * d; i <= N; i = i + d ) | ^~~ main.cpp:15:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | fout<<d<<"\n"; | ^~~~ main.cpp:15:13: error: 'd' was not declared in this scope 15 | fout<<d<<"\n"; | ^