|
|
........ .B.B...B ....W... .B.B.B.. ........ .B.B.B.. ........ ........ ans:1 ..W.W... .B.B.B.. ........ .B.B.B.. ........ .B.B.B.. ........ ........ ans:2 ..W.W... .B.B.B.. W.W.W.W. .B.B.B.. W.W.W.W. .B.B.B.. ..W.W... ........ ans:6 Why does it state: "... White draughts, that reached the eighth horizontal, as well as black draughts, that reached the first horizontal, are considered as draughts anyway, i.e. there are no kings here. ..." but then in the sample the white piece makes both forward and backward jumps? Perhaps it should say that all draughts move like kings. Why are checkers located on the white cells? According to the rules, they must be located on the black cells. subj W....... .W...... .....W.. ..B.B... ...B.... ........ ........ ........ answer: 1 Are you sure that 23th test is correct ? I've got WA with 24... but some tests were added, so it's probably an old 23 No, it's correct. I had some stupid mistake. You should remove Black figures and White too. A good hint indeed for WA3! =))) I have a test that two different accepted solutions give me different answers sorry for my bad english :) Edited by author 21.04.2008 15:32 ... Edited by author 25.04.2008 12:51 Your test is added. Send more good tests to e-mail if you have such ones. What's your e-mail?) Edited by author 22.04.2008 01:16 timus_support (sobaka) acm.timus.ru В правилах шашек есть правило побития - типа если уже были над данным полем то туда бить нельзя. Тут это соблюдено или главное прыгать через черную в пустую клетку? В данной задаче это правило не используется Edited by author 26.03.2007 14:21 What do you mean by "All the draughts are situated in the cells of the same color." . In the statment this in not the case, furthermove if it is true then we can't take droughts. Rostislav Edited by author 26.01.2007 01:00 "A cell with coordinates (x, y) is white if (x+y) modulo 2 = 1, otherwise it is black." So two possible options: 1) all the draughts are situated in black cells; 2) all the draughts are situated in white cells. |
|
|