Pagini recente » Borderou de evaluare (job #2681342) | Borderou de evaluare (job #2655565) | Borderou de evaluare (job #1162241) | Borderou de evaluare (job #2724160) | Borderou de evaluare (job #2791718)
Borderou de evaluare (job #2791718)
Raport evaluator
Compilare:
main.cpp: In function 'void golire()':
main.cpp:12:14: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
12 | f1[i]=0;
| ~~~~~^~
main.cpp:10:19: note: within this loop
10 | for(int i=1; i<=101; i++)
| ~^~~~~
main.cpp:16:14: warning: iteration 1000 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | f2[i]=0;
| ~~~~~^~
main.cpp:14:19: note: within this loop
14 | for(int i=1; i<=1001; i++)
| ~^~~~~~
main.cpp:12:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [404, 407] is out of the bounds [0, 404] of object 'f1' with type 'int [101]' [-Warray-bounds]
12 | f1[i]=0;
| ~~~~~^~
main.cpp:6:18: note: 'f1' declared here
6 | int t, x, y, nr, f1[101], f2[1001], k1, k2, nrd;
| ^~
main.cpp:16:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [4004, 4007] is out of the bounds [0, 4004] of object 'f2' with type 'int [1001]' [-Warray-bounds]
16 | f2[i]=0;
| ~~~~~^~
main.cpp:6:27: note: 'f2' declared here
6 | int t, x, y, nr, f1[101], f2[1001], k1, k2, nrd;
| ^~
In function 'void golire()',
inlined from 'int main()' at main.cpp:27:15:
main.cpp:12:14: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [404, 407] is out of the bounds [0, 404] of object 'f1' with type 'int [101]' [-Warray-bounds]
12 | f1[i]=0;
| ~~~~~^~
main.cpp: In function 'int main()':
main.cpp:6:18: note: 'f1' declared here
6 | int t, x, y, nr, f1[101], f2[1001], 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 [4004, 4007] is out of the bounds [0, 4004] of object 'f2' with type 'int [1001]' [-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[1001], k1, k2, nrd;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |