cf/mirror

Number Maze

CF
2172E1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3
12 1 2
123 1 2
123 2 5
Output
0A2B
1A2B
1A2B
Sample 2of 2
Input
3
1234 15 9
1234 1 24
1234 1 1
Output
2A2B
0A4B
4A0B
2172E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)