Pagini recente » Borderou de evaluare (job #713829) | Borderou de evaluare (job #2148215) | Borderou de evaluare (job #2356865) | Borderou de evaluare (job #2240637) | Borderou de evaluare (job #2784646)
Borderou de evaluare (job #2784646)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:19: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds]
22 | q[ 1 ] = r[ 1 ] = v[ 1 ];
| ~~~~~^
main.cpp:6:21: note: while referencing 'r'
6 | int v[ N ], q[ 0 ], r[ 0 ];
| ^
main.cpp:22:10: warning: array subscript 1 is outside array bounds of 'int [0]' [-Warray-bounds]
22 | q[ 1 ] = r[ 1 ] = v[ 1 ];
| ~~~~~^
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 | 1ms | 184kb | Incorect | 0 |
4 | 5ms | 307kb | Incorect | 0 |
5 | 5ms | 299kb | Incorect | 0 |
6 | 10ms | 434kb | Incorect | 0 |
7 | 15ms | 512kb | Incorect | 0 |
8 | 10ms | 360kb | Incorect | 0 |
9 | 17ms | 643kb | Incorect | 0 |
10 | 19ms | 569kb | Incorect | 0 |
Punctaj total | 0 |