Borderou de evaluare (job #746749)

Utilizator avatar viochips Viorica viochips IP ascuns
Problemă Adunare Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 nov. 2023 12:42:34 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int prim(int)': main.cpp:9:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 9 | for(d=2;d<=q/2;d++) | ^~~ main.cpp:11:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 11 | return ok; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:25:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 25 | if((int)(sqrt(i))==sqrt(i)) | ^~ main.cpp:27:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | cout<<nr; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 249 kb Time limit exceeded 0
2 107 ms 249 kb Time limit exceeded 0
Punctaj total 0