Pagini recente » Borderou de evaluare (job #2491969) | Borderou de evaluare (job #608409) | Borderou de evaluare (job #2790531) | Borderou de evaluare (job #2256083) | Borderou de evaluare (job #2228954)
Borderou de evaluare (job #2228954)
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 | 856kb | OK | 10 |
2 | 0ms | 812kb | OK | 10 |
3 | 0ms | 756kb | OK | 10 |
4 | 12ms | 1632kb | OK | 10 |
5 | 12ms | 1728kb | OK | 10 |
6 | 20ms | 1980kb | OK | 10 |
7 | 24ms | 2124kb | OK | 10 |
8 | 36ms | 2432kb | OK | 10 |
9 | 40ms | 2512kb | OK | 10 |
10 | 44ms | 2604kb | OK | 10 |
Punctaj total | 100 |