Pagini recente » Borderou de evaluare (job #2057520) | Borderou de evaluare (job #2099756) | Borderou de evaluare (job #3281040) | Borderou de evaluare (job #444781) | Borderou de evaluare (job #2784645)
Borderou de evaluare (job #2784645)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:19: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds]
22 | q[ 0 ] = r[ 0 ] = v[ 0 ];
| ~~~~~^
main.cpp:6:21: note: while referencing 'r'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:22:10: warning: array subscript 0 is outside array bounds of 'int [0]' [-Warray-bounds]
22 | q[ 0 ] = r[ 0 ] = v[ 0 ];
| ~~~~~^
main.cpp:6:13: note: while referencing 'q'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:26:22: warning: array subscript dr is outside array bounds of 'int [0]' [-Warray-bounds]
26 | while( q[ dr ] > v[ i ] && dr >= 0 )
| ~~~~~~^
main.cpp:6:13: note: while referencing 'q'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:29:15: warning: array subscript dr is outside array bounds of 'int [0]' [-Warray-bounds]
29 | q[ dr ] = v[ i ];
| ~~~~~~^
main.cpp:6:13: note: while referencing 'q'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:31:23: warning: array subscript dr1 is outside array bounds of 'int [0]' [-Warray-bounds]
31 | while( r[ dr1 ] < v[ i ] && dr1 >= 0 )
| ~~~~~~~^
main.cpp:6:21: note: while referencing 'r'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:34:16: warning: array subscript dr1 is outside array bounds of 'int [0]' [-Warray-bounds]
34 | r[ dr1 ] = v[ i ];
| ~~~~~~~^
main.cpp:6:21: note: while referencing 'r'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:43:22: warning: array subscript dr is outside array bounds of 'int [0]' [-Warray-bounds]
43 | while( q[ dr ] > v[ i ] && dr >= st )
| ~~~~~~^
main.cpp:6:13: note: while referencing 'q'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:46:15: warning: array subscript dr is outside array bounds of 'int [0]' [-Warray-bounds]
46 | q[ dr ] = v[ i ];
| ~~~~~~^
main.cpp:6:13: note: while referencing 'q'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:48:23: warning: array subscript dr1 is outside array bounds of 'int [0]' [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 13ms | 307kb | Incorect | 0 |
4 | 15ms | 344kb | Incorect | 0 |
5 | 6ms | 294kb | Incorect | 0 |
6 | 30ms | 434kb | Incorect | 0 |
7 | 17ms | 425kb | Incorect | 0 |
8 | 15ms | 487kb | Incorect | 0 |
9 | 20ms | 663kb | Incorect | 0 |
10 | 26ms | 569kb | Incorect | 0 |
Punctaj total | 0 |