cf/mirror

A and B and Chess

CF
519A900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
...QK...
........
........
........
........
........
........
...rk...
Output
White
Sample 2of 3
Input
rnbqkbnr
pppppppp
........
........
........
........
PPPPPPPP
RNBQKBNR
Output
Draw
Sample 3of 3
Input
rppppppr
...k....
........
........
........
........
K...Q...
........
Output
Black
519A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)