Pagini recente » Borderou de evaluare (job #2466167) | Borderou de evaluare (job #2695174) | Borderou de evaluare (job #2454036) | Borderou de evaluare (job #2756814) | Borderou de evaluare (job #2228871)
Borderou de evaluare (job #2228871)
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: 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 | 816kb | OK | 10 |
2 | 0ms | 752kb | OK | 10 |
3 | 0ms | 816kb | Incorect | 0 |
4 | 0ms | 868kb | Incorect | 0 |
5 | 0ms | 752kb | Incorect | 0 |
6 | 4ms | 808kb | Incorect | 0 |
7 | 4ms | 936kb | Incorect | 0 |
8 | 4ms | 768kb | Incorect | 0 |
9 | 4ms | 872kb | Incorect | 0 |
10 | 4ms | 936kb | Incorect | 0 |
Punctaj total | 20 |