Borderou de evaluare (job #811562)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Norocos (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 feb. 2025 18:23:20 Scor 36

Raport evaluator

Compilare: main.cpp: In function 'bool iskLucky(long long int, long long int)': main.cpp:28:19: warning: unused variable 'd' [-Wunused-variable] 28 | long long p = 1 , d = 2 , ind = 0 ; | ^ main.cpp: In function 'int main()': main.cpp:51:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 51 | if(x%2!=0 && !isPrime(x) && c==2 || x%2!=0 && c==1 ){ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.cpp:52:20: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 52 | if(mx<x) | ^~ main.cpp:54:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 54 | if(mn>x) | ^~ main.cpp:54:22: warning: this 'if' clause does not guard... [-Wmisleading-indentation] main.cpp:56:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 56 | if(iskLucky(x,k)) | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 245 kb OK 4
6 1 ms 249 kb OK 4
7 1 ms 249 kb OK 4
8 9 ms 245 kb OK 4
9 9 ms 245 kb OK 4
10 359 ms 245 kb OK 4
11 1 ms 245 kb Incorect 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0
16 219 ms 249 kb Incorect 0
17 879 ms 270 kb Incorect 0
18 1006 ms 249 kb Time limit exceeded 0
19 599 ms 266 kb Incorect 0
20 858 ms 249 kb Incorect 0
21 879 ms 245 kb Incorect 0
22 1009 ms 249 kb Time limit exceeded 0
23 1009 ms 270 kb Time limit exceeded 0
24 849 ms 245 kb Incorect 0
25 869 ms 270 kb Incorect 0
Punctaj total 36