Borderou de evaluare (job #2940553)

Utilizator mateitudordmDumitru Matei mateitudordm Data 15 noiembrie 2022 20:15:05
Problema Hoața Status done
Runda hoata Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:55:15: warning: unused variable 'j' [-Wunused-variable] 55 | int t, i, j, str, greutate; | ^ main.cpp: In function 'void reset()': main.cpp:25:34: warning: iteration 3601 invokes undefined behavior [-Waggressive-loop-optimizations] 25 | bst[i] = inq[i] = prv[i] = 0; | ~~~~~~~^~~ main.cpp:22:23: note: within this loop 22 | for( int i = 0; i <= nmax * gmax + 1; i++ ) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:25:34: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [14404, 14407] is out of the bounds [0, 14404] of object 'prv' with type 'int [3601]' [-Warray-bounds] 25 | bst[i] = inq[i] = prv[i] = 0; | ~~~~~~~^~~ main.cpp:18:49: note: 'prv' declared here 18 | int inq[nmax * gmax + 1], bst[nmax * gmax + 1], prv[nmax * gmax + 1], past; | ^~~ main.cpp:25:25: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [14404, 14407] is out of the bounds [0, 14404] of object 'inq' with type 'int [3601]' [-Warray-bounds] 25 | bst[i] = inq[i] = prv[i] = 0; | ~~~~~~~^~~~~~~~~~~~ main.cpp:18:5: note: 'inq' declared here 18 | int inq[nmax * gmax + 1], bst[nmax * gmax + 1], prv[nmax * gmax + 1], past; | ^~~ main.cpp:25:16: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [14404, 14407] is out of the bounds [0, 14404] of object 'bst' with type 'int [3601]' [-Warray-bounds] 25 | bst[i] = inq[i] = prv[i] = 0; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:18:27: note: 'bst' declared here 18 | int inq[nmax * gmax + 1], bst[nmax * gmax + 1], prv[nmax * gmax + 1], past; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1228ms156327kbIncorect00
2230ms156368kbOK4
3229ms156303kbIncorect0
4229ms156368kbIncorect0
5230ms156364kbIncorect0
6115ms156590kbKilled by Signal 1100
7227ms156389kbIncorect0
88000ms156311kbTime limit exceeded0
98002ms156282kbTime limit exceeded0
10109ms156340kbKilled by Signal 110
11245ms156479kbIncorect00
12234ms156463kbIncorect0
13235ms156413kbIncorect0
14234ms156364kbIncorect0
152389ms156278kbIncorect0
162376ms156389kbIncorect0
17398ms156852kbIncorect0
18115ms156327kbKilled by Signal 1100
19112ms156643kbKilled by Signal 110
20112ms156336kbKilled by Signal 110
21112ms156381kbKilled by Signal 110
228003ms156340kbTime limit exceeded0
238004ms156286kbTime limit exceeded0
24115ms156368kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?