ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1380. Ostap's Chess

Nice prob. Some tests here :)
Posted by BdE 4 Mar 2018 15:47
In:
0 0 0 4 0 0 -4 0
0 0 0 2 0 0 0 0
0 0 0 0 0 0 0 0
-4 0 0 0 0 0 0 0
0 0 -1 0 -1 0 0 0
0 0 -1 -6 -1 0 0 0
0 0 -1 -1 -1 0 0 0
0 0 0 0 0 0 0 0
2
White
d7-c5
a5-c5

Out:
Mate

0 0 0 4 0 0 -4 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
-4 0 2 0 0 0 0 0
0 0 -1 0 -1 0 0 0
0 0 -1 -6 -1 0 0 0
0 0 -1 -1 -1 0 0 0
0 0 0 0 0 0 0 0

In:
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
-5 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 -3 0 0 0 0
0 0 0 0 0 0 0 0
2 1 0 0 0 0 0 0
6 2 0 0 0 -5 0 0
1
Black
d4-e5

Out:
Draw

0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
-5 0 0 0 0 0 0 0
0 0 0 0 -3 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
2 1 0 0 0 0 0 0
6 2 0 0 0 -5 0 0

In:
0 -1 0 0 0 0 0 0
0 0 0 -4 0 0 0 0
0 6 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
6 1 0 0 0 0 0 0
1
Black
d7-a7

Out:
Mate

0 -1 0 0 0 0 0 0
-4 0 0 0 0 0 0 0
0 6 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
6 1 0 0 0 0 0 0

In:
0 0 0 0 0 0 0 0
0 0 0 -4 0 0 0 0
0 6 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
6 1 0 0 0 0 0 0
1
Black
d7-a7

Out:
Check

0 0 0 0 0 0 0 0
-4 0 0 0 0 0 0 0
0 6 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
6 1 0 0 0 0 0 0

Passing all this tests will probably gives you AC, of course, if you don't make any dumb mistakes like i did :)
GL.
nwm
Posted by 🤔BdE🤔'` 12 Sep 2018 00:22

Edited by author 13.09.2018 14:03

Edited by author 13.09.2018 14:03