Borderou de evaluare (job #761093)

Utilizator avatar x_dana Bica Dana x_dana IP ascuns
Problemă Test (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 feb. 2024 18:30:43 Scor 100

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(int i=3;i*i<=n;i+=2) | ^~~ main.cpp:11:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 11 | return 1; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:17:12: warning: variable 's' set but not used [-Wunused-but-set-variable] 17 | int a,b,s,ss,maxi,maxp=-1; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 245 kb OK 10
2 1 ms 241 kb OK 10
3 1 ms 245 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 245 kb OK 10
Punctaj total 100