|
|
вернуться в форумRe: wa on 6 test!!! Послано RASTA 19 мар 2009 15:10 check some tests input 5 5 1 5 1 3 0 output 1 3 input 5 5 1 5 1 3 10000000 output 1 1 1 2 1 3 1 4 1 5 input 100 100 51 50 1 1 1000000 output 1 1 1 2 ... 51 51 51 50 #10000 points input 2 100 2 1 1 1 100000 output 1 1 1 2 ... 1 99 1 100 2 100 2 99 ... 2 2 2 1 #200 points Re: wa on 6 test!!! Just check more carefully borders you print! For example (Lara's position - T) can be less or equal to zero. Try this test: 2 2 2 1 2 1 4 |
|
|