Pagini recente » Borderou de evaluare (job #2228820) | Borderou de evaluare (job #1153713) | Borderou de evaluare (job #1833443) | Borderou de evaluare (job #1145338) | Borderou de evaluare (job #2228866)
Borderou de evaluare (job #2228866)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int sieve(unsigned int)’:
user.cpp:33:19: warning: operation on ‘i’ may be undefined [-Wsequence-point]
((p[++i >> 5] & (1 << (i & 31))) == 0);
^~~
user.cpp:33:19: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp:33:19: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp:7:29: warning: unused variable ‘k’ [-Wunused-variable]
register unsigned i, j, k, nr = 1 + (n > 2);
^
user.cpp: In function ‘int main()’:
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.in", "r", stdin);
^
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.out", "w", stdout);
^
user.cpp:44:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
unsigned N; scanf("%d", &N);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 752kb | OK | 10 |
| 2 | 0ms | 876kb | OK | 10 |
| 3 | 0ms | 876kb | Incorect | 0 |
| 4 | 0ms | 932kb | Incorect | 0 |
| 5 | 0ms | 856kb | Incorect | 0 |
| 6 | 4ms | 756kb | Incorect | 0 |
| 7 | 4ms | 752kb | Incorect | 0 |
| 8 | 4ms | 792kb | Incorect | 0 |
| 9 | 4ms | 792kb | Incorect | 0 |
| 10 | 4ms | 804kb | Incorect | 0 |
| Punctaj total | 20 |