Pagini recente »
Borderou de evaluare (job #561754)
|
Borderou de evaluare (job #132305)
|
Borderou de evaluare (job #580756)
|
Borderou de evaluare (job #415819)
|
Borderou de evaluare (job #820652)
Borderou de evaluare (job #820652)
Raport evaluator
Compilare:
main.cpp: In function 'bool isPrime(long long int)':
main.cpp:21:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if( n == 2 )
| ^~
main.cpp:23:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
23 | if(n%2==0 && n!=2)
| ^~
main.cpp:23:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
main.cpp:25:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
25 | for(int i = 3 ; i * i <= n ; i +=2 )
| ^~~
main.cpp:26:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
26 | if(n%i==0)
| ^~
main.cpp:28:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
28 | return true;
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
19 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
2 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
2 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
58 ms
|
245 kb
|
Time limit exceeded
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
90
|