Borderou de evaluare (job #809568)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Tai (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 feb. 2025 20:58:13 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool isPrime(long long int)': main.cpp:7:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7 | if(n<=1) | ^~ main.cpp:9:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 9 | if(n==2) | ^~ main.cpp:9:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] main.cpp:11:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 11 | if(n%2==0 && n!=2) | ^~ main.cpp:14:19: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(n%i==0) | ^~ main.cpp:16:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | return true; | ^~~~~~ main.cpp: In function 'long long int Tai(long long int)': main.cpp:31:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 31 | if(mx<n1 && isPrime(n1)) | ^~ main.cpp:33:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 33 | if(mx<n2 && isPrime(n2)) | ^~ main.cpp: In function 'int main()': main.cpp:58:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 58 | if(mx<Tai(n1)) | ^~ main.cpp:60:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 60 | if(mx<Tai(n2)) | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 241 kb Pomana (pentru ca anumite judete sa nu para ca s-au calificat cu 10p, ci cu 30p) 10
2 1 ms 245 kb OK 3
3 1 ms 241 kb OK 3
4 1 ms 245 kb OK 3
5 1 ms 245 kb OK 3
6 1 ms 266 kb OK 2
7 2 ms 245 kb OK 2
8 1 ms 507 kb OK 2
9 10 ms 245 kb OK 4
10 9 ms 266 kb OK 4
11 9 ms 266 kb OK 4
12 1 ms 245 kb OK 3
13 2 ms 245 kb OK 3
14 1 ms 245 kb OK 3
15 1 ms 507 kb OK 3
16 1 ms 245 kb OK 2
17 1 ms 245 kb OK 3
18 1 ms 245 kb OK 3
19 1 ms 249 kb OK 3
20 2 ms 249 kb OK 3
21 1 ms 245 kb OK 4
22 1 ms 245 kb OK 3
23 2 ms 245 kb OK 3
24 1 ms 245 kb OK 2
25 1 ms 266 kb OK 3
26 2 ms 245 kb OK 3
27 1 ms 266 kb OK 3
28 1 ms 266 kb OK 3
29 1 ms 245 kb OK 3
30 1 ms 249 kb OK 3
31 1 ms 249 kb OK 4
Punctaj total 100