Pagini recente » Borderou de evaluare (job #2953859) | Borderou de evaluare (job #2700066) | Borderou de evaluare (job #3255163) | Borderou de evaluare (job #1820414) | Borderou de evaluare (job #2228961)
Borderou de evaluare (job #2228961)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int sieve(unsigned int)’:
user.cpp:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 2; i <= n; ++i)
~~^~~~
user.cpp:15:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = i + i; j <= n; j += i)
~~^~~~
user.cpp: In function ‘int main()’:
user.cpp:27: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:28: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:30: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 | 864kb | OK | 10 |
2 | 0ms | 808kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 12ms | 1636kb | OK | 10 |
5 | 16ms | 1732kb | OK | 10 |
6 | 20ms | 1980kb | OK | 10 |
7 | 20ms | 2128kb | OK | 10 |
8 | 32ms | 2432kb | OK | 10 |
9 | 36ms | 2516kb | OK | 10 |
10 | 44ms | 2608kb | OK | 10 |
Punctaj total | 100 |