Borderou de evaluare (job #794287)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Apropiate (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 nov. 2024 15:59:44 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'bool isPrime(int)': main.cpp:16:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if(n<=1) | ^~ main.cpp:20:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 20 | if(n==2) | ^~ main.cpp:20:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] main.cpp:24:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 24 | if(n%2==0 && n!=2) | ^~ main.cpp:30:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if(n%i==0) | ^~ main.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 34 | return true; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 9 ms 512 kb OK 10
2 29 ms 249 kb OK 10
3 89 ms 245 kb OK 10
4 99 ms 249 kb OK 10
5 109 ms 270 kb Time limit exceeded 0
6 109 ms 270 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 270 kb Time limit exceeded 0
10 109 ms 270 kb Time limit exceeded 0
Punctaj total 40