Pagini recente » Borderou de evaluare (job #2177621) | Borderou de evaluare (job #438600) | Borderou de evaluare (job #2387754) | Borderou de evaluare (job #2574114) | Borderou de evaluare (job #2791722)
Borderou de evaluare (job #2791722)
Raport evaluator
Compilare:
main.cpp: In function 'void golire()':
main.cpp:16:14: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | f2[i]=0;
| ~~~~~^~
main.cpp:14:19: note: within this loop
14 | for(int i=1; i<=1000; i++)
| ~^~~~~~
main.cpp:16:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [404, 4003] is out of the bounds [0, 404] of object 'f2' with type 'int [101]' [-Warray-bounds]
16 | f2[i]=0;
| ~~~~~^~
main.cpp:6:27: note: 'f2' declared here
6 | int t, x, y, nr, f1[101], f2[101], k1, k2, nrd;
| ^~
In function 'void golire()',
inlined from 'int main()' at main.cpp:27:15:
main.cpp:16:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [404, 4003] is out of the bounds [0, 404] of object 'f2' with type 'int [101]' [-Warray-bounds]
16 | f2[i]=0;
| ~~~~~^~
main.cpp: In function 'int main()':
main.cpp:6:27: note: 'f2' declared here
6 | int t, x, y, nr, f1[101], f2[101], k1, k2, nrd;
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 203ms | 184kb | Time limit exceeded | 0 |
Punctaj total | 0 |