Pagini recente » Borderou de evaluare (job #1742666) | Borderou de evaluare (job #3005771) | Borderou de evaluare (job #3005836) | Borderou de evaluare (job #1172690) | Borderou de evaluare (job #1718228)
Borderou de evaluare (job #1718228)
Raport evaluator
Compilare:
user.cpp: In function ‘bool N_prim(int)’:
user.cpp:21:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (t=3; t*t <=N; t+=2){
^
user.cpp: In function ‘int div_N(unsigned int*, unsigned int, unsigned int&)’:
user.cpp:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=2; i*i < N; i ++){
^
user.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i * i == N)
^
user.cpp: In function ‘int main()’:
user.cpp:44:35: warning: unused variable ‘i’ [-Wunused-variable]
unsigned divizori[MAX], N, d, i, j;
^
user.cpp:44:38: warning: unused variable ‘j’ [-Wunused-variable]
unsigned divizori[MAX], N, d, i, j;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | Incorect | 0 |
| 2 | 0ms | 440kb | Incorect | 0 |
| 3 | 0ms | 440kb | Incorect | 0 |
| 4 | 0ms | 440kb | Incorect | 0 |
| 5 | 0ms | 444kb | Incorect | 0 |
| 6 | 0ms | 440kb | Incorect | 0 |
| 7 | 0ms | 440kb | Incorect | 0 |
| 8 | 0ms | 436kb | Incorect | 0 |
| 9 | 0ms | 436kb | OK | 5 |
| 10 | 0ms | 440kb | Incorect | 0 |
| 11 | 0ms | 440kb | Incorect | 0 |
| 12 | 0ms | 448kb | Incorect | 0 |
| 13 | 0ms | 436kb | Incorect | 0 |
| 14 | 0ms | 440kb | Incorect | 0 |
| 15 | 0ms | 440kb | Incorect | 0 |
| 16 | 0ms | 440kb | Incorect | 0 |
| 17 | 0ms | 436kb | Incorect | 0 |
| 18 | 0ms | 436kb | Incorect | 0 |
| 19 | 0ms | 444kb | Incorect | 0 |
| 20 | 0ms | 448kb | Incorect | 0 |
| Punctaj total | 5 |