Pagini recente » Borderou de evaluare (job #396794) | Borderou de evaluare (job #1508538) | Borderou de evaluare (job #1764749) | Borderou de evaluare (job #2566775) | Borderou de evaluare (job #2243963)
Borderou de evaluare (job #2243963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin) ;
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout) ;
^
user.cpp:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n) ;
^
user.cpp: In function ‘void sieve()’:
user.cpp:13:19: warning: iteration 1399999 invokes undefined behavior [-Waggressive-loop-optimizations]
if (ciur[i] == 0){
~~~~~~^
user.cpp:12:20: note: within this loop
for (i = 2 ; i <= NMAX ; ++ i){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | 7172kb | OK | 10 |
2 | 96ms | 7172kb | OK | 10 |
3 | 96ms | 7176kb | OK | 10 |
4 | 96ms | 7176kb | OK | 10 |
5 | 96ms | 7172kb | OK | 10 |
6 | 96ms | 7172kb | OK | 10 |
7 | 100ms | 7172kb | OK | 10 |
8 | 96ms | 7176kb | OK | 10 |
9 | 96ms | 7176kb | OK | 10 |
10 | 96ms | 7172kb | OK | 10 |
Punctaj total | 100 |