cf/mirror

Sleepy Game

CF
936B2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5 6
2 2 3
2 4 5
1 4
1 5
0
1
Output
Win
1 2 4 5
Sample 2of 3
Input
3 2
1 3
1 1
0
2
Output
Lose
Sample 3of 3
Input
2 2
1 2
1 1
1
Output
Draw
936B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…