Pagini recente »
Borderou de evaluare (job #484537)
|
Borderou de evaluare (job #516717)
|
Borderou de evaluare (job #409474)
|
Borderou de evaluare (job #311491)
|
Borderou de evaluare (job #794287)
Borderou de evaluare (job #794287)
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
|