Pagini recente » Borderou de evaluare (job #3330446) | Borderou de evaluare (job #3328524) | Monitorul de evaluare | Borderou de evaluare (job #1850556) | Borderou de evaluare (job #3313595)
Borderou de evaluare (job #3313595)
Raport evaluator
Compilare:
main.cpp: In function 'void ciur()':
main.cpp:14:13: warning: iteration 1000005 invokes undefined behavior [-Waggressive-loop-optimizations]
14 | p[i]=0;
| ~~~~^~
main.cpp:13:18: note: within this loop
13 | for(int i=0;i<=1000005;i++)
| ~^~~~~~~~~
main.cpp:16:15: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | if(p[i]==0)
| ~~~^
main.cpp:15:18: note: within this loop
15 | for(int i=2;i<=1000005;i++)
| ~^~~~~~~~~
main.cpp:14:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [8000040, 8000047] is out of the bounds [0, 8000040] of object 'p' with type 'long long int [1000005]' [-Warray-bounds]
14 | p[i]=0;
| ~~~~^~
main.cpp:9:23: note: 'p' declared here
9 | long long a, fp[55],r,p[1000005];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 9ms | 8163kb | Incorect | 0 | 0 |
| 2 | 9ms | 8159kb | Incorect | 0 | 0 |
| 3 | 8ms | 8159kb | Incorect | 0 | 0 |
| 4 | 12ms | 8159kb | Incorect | 0 | 0 |
| 5 | 9ms | 8159kb | Incorect | 0 | 0 |
| 6 | 9ms | 8159kb | Incorect | 0 | 0 |
| 7 | 8ms | 8159kb | Incorect | 0 | 0 |
| 8 | 9ms | 8159kb | Incorect | 0 | 0 |
| 9 | 9ms | 8159kb | Incorect | 0 |
| 10 | 9ms | 8159kb | Incorect | 0 |
| Punctaj total | 0 |