Borderou de evaluare (job #2791722)

Utilizator MihaiCostacheCostache Mihai MihaiCostache Data 30 octombrie 2021 23:38:26
Problema Divizor si multiplu Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
1203ms184kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?