Borderou de evaluare (job #821682)

Utilizator avatar Edi798 Nastase Eduard Vicentiu Edi798 IP ascuns
Problemă Apropiate (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 27 apr. 2025 14:51:44 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int prim(int)': main.cpp:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 24 | if(n%i==0) | ^~ main.cpp:27:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | return 1; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:34:15: warning: unused variable 'j' [-Wunused-variable] 34 | int n,c,i,j,nr,c1,c2; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 2 ms 114 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 266 kb OK 10
Punctaj total 100