Borderou de evaluare (job #810743)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Control (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 feb. 2025 10:33:55 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool isPrime(int)': main.cpp:27:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 27 | if(n%i==0) | ^~ main.cpp:29:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 29 | return true ; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:35:9: warning: unused variable 'par' [-Wunused-variable] 35 | int par = 0 , imp = 0 , num = 0 ; | ^~~ main.cpp:35:21: warning: unused variable 'imp' [-Wunused-variable] 35 | int par = 0 , imp = 0 , num = 0 ; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 507 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 241 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100