Pagini recente » Borderou de evaluare (job #2881423) | Borderou de evaluare (job #1501163) | Borderou de evaluare (job #117518) | Borderou de evaluare (job #451688) | Borderou de evaluare (job #2228619)
Borderou de evaluare (job #2228619)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int sieve(unsigned int)’:
user.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 3; i <= n; i += 2)
~~^~~~
user.cpp: In function ‘int main()’:
user.cpp:30: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:31: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:33: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 | 756kb | OK | 10 |
2 | 0ms | 856kb | OK | 10 |
3 | 0ms | 816kb | OK | 10 |
4 | 4ms | 808kb | OK | 10 |
5 | 4ms | 788kb | OK | 10 |
6 | 4ms | 864kb | OK | 10 |
7 | 4ms | 864kb | OK | 10 |
8 | 8ms | 876kb | OK | 10 |
9 | 8ms | 884kb | OK | 10 |
10 | 8ms | 900kb | OK | 10 |
Punctaj total | 100 |