Pagini recente » Borderou de evaluare (job #2379223) | Borderou de evaluare (job #997517) | Borderou de evaluare (job #993834) | Borderou de evaluare (job #1467335) | Borderou de evaluare (job #2243945)
Borderou de evaluare (job #2243945)
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 999999 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 | 8ms | 5476kb | Incorect | 0 |
| 2 | 8ms | 5476kb | Incorect | 0 |
| 3 | 4ms | 5476kb | Incorect | 0 |
| 4 | 4ms | 5476kb | Incorect | 0 |
| 5 | 8ms | 5480kb | Incorect | 0 |
| 6 | 4ms | 5480kb | Incorect | 0 |
| 7 | 8ms | 5480kb | Incorect | 0 |
| 8 | 8ms | 5484kb | Incorect | 0 |
| 9 | 8ms | 5480kb | Incorect | 0 |
| 10 | 8ms | 5476kb | Incorect | 0 |
| Punctaj total | 0 |