Pagini recente »
Borderou de evaluare (job #786953)
|
Borderou de evaluare (job #352475)
|
Borderou de evaluare (job #308698)
|
Borderou de evaluare (job #571254)
|
Borderou de evaluare (job #794276)
Borderou de evaluare (job #794276)
Raport evaluator
Compilare:
main.cpp: In function 'bool isPrime(int)':
main.cpp:15:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(n<=1)
| ^~
main.cpp:17:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
17 | if(n==2)
| ^~
main.cpp:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
main.cpp:19:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
19 | if(n%2==0 && n!=2)
| ^~
main.cpp:22:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
22 | if(n%i==0)
| ^~
main.cpp:24:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | return true;
| ^~~~~~
main.cpp: In function 'int Lowerbounds(int)':
main.cpp:41:3: warning: control reaches end of non-void function [-Wreturn-type]
41 | }
| ^
main.cpp: In function 'int Upperbounds(int)':
main.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type]
52 | }
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
2
|
1 ms
|
512 kb
|
Fișier de ieșire lipsă
|
0
|
3
|
1 ms
|
270 kb
|
Fișier de ieșire lipsă
|
0
|
4
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
5
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
6
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
7
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
8
|
1 ms
|
512 kb
|
Fișier de ieșire lipsă
|
0
|
9
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
10
|
1 ms
|
249 kb
|
Fișier de ieșire lipsă
|
0
|
Punctaj total
|
0
|