Pagini recente » Borderou de evaluare (job #1825331) | Borderou de evaluare (job #2387268) | Borderou de evaluare (job #2756102) | Borderou de evaluare (job #1765866) | Borderou de evaluare (job #2228867)
Borderou de evaluare (job #2228867)
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 | 868kb | OK | 10 |
2 | 0ms | 752kb | OK | 10 |
3 | 0ms | 860kb | Incorect | 0 |
4 | 0ms | 864kb | Incorect | 0 |
5 | 0ms | 796kb | Incorect | 0 |
6 | 4ms | 876kb | Incorect | 0 |
7 | 4ms | 868kb | Incorect | 0 |
8 | 4ms | 764kb | Incorect | 0 |
9 | 4ms | 876kb | Incorect | 0 |
10 | 4ms | 864kb | Incorect | 0 |
Punctaj total | 20 |