Borderou de evaluare (job #721863)

Utilizator avatar EroareDeCompilare Andrei Postolache EroareDeCompilare IP ascuns
Problemă Partitiile unui numar Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 mai 2023 19:25:51 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:33: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations] 42 | for(int i=0;i < 101;i++)v[i]=0; | ~~~~^~ main.cpp:42:19: note: within this loop 42 | for(int i=0;i < 101;i++)v[i]=0; | ~~^~~~~ main.cpp:42:33: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [400, 403] is out of the bounds [0, 400] of object 'v' with type 'int [100]' [-Warray-bounds] 42 | for(int i=0;i < 101;i++)v[i]=0; | ~~~~^~ main.cpp:16:5: note: 'v' declared here 16 | int v[100]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 9 ms 237 kb OK 10
7 9 ms 237 kb OK 10
8 29 ms 212 kb OK 10
9 59 ms 172 kb Time limit exceeded 0
10 59 ms 159 kb Time limit exceeded 0
Punctaj total 80