Pagini recente » Borderou de evaluare (job #876016) | Borderou de evaluare (job #1218602) | Borderou de evaluare (job #2120887) | Borderou de evaluare (job #3204860) | Borderou de evaluare (job #2940553)
Borderou de evaluare (job #2940553)
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 |
1 | 228ms | 156327kb | Incorect | 0 | 0 |
2 | 230ms | 156368kb | OK | 4 |
3 | 229ms | 156303kb | Incorect | 0 |
4 | 229ms | 156368kb | Incorect | 0 |
5 | 230ms | 156364kb | Incorect | 0 |
6 | 115ms | 156590kb | Killed by Signal 11 | 0 | 0 |
7 | 227ms | 156389kb | Incorect | 0 |
8 | 8000ms | 156311kb | Time limit exceeded | 0 |
9 | 8002ms | 156282kb | Time limit exceeded | 0 |
10 | 109ms | 156340kb | Killed by Signal 11 | 0 |
11 | 245ms | 156479kb | Incorect | 0 | 0 |
12 | 234ms | 156463kb | Incorect | 0 |
13 | 235ms | 156413kb | Incorect | 0 |
14 | 234ms | 156364kb | Incorect | 0 |
15 | 2389ms | 156278kb | Incorect | 0 |
16 | 2376ms | 156389kb | Incorect | 0 |
17 | 398ms | 156852kb | Incorect | 0 |
18 | 115ms | 156327kb | Killed by Signal 11 | 0 | 0 |
19 | 112ms | 156643kb | Killed by Signal 11 | 0 |
20 | 112ms | 156336kb | Killed by Signal 11 | 0 |
21 | 112ms | 156381kb | Killed by Signal 11 | 0 |
22 | 8003ms | 156340kb | Time limit exceeded | 0 |
23 | 8004ms | 156286kb | Time limit exceeded | 0 |
24 | 115ms | 156368kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |