cf/mirror

Farmer John's Card Game

CF
2060B1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
2 3
0 4 2
1 5 3
1 1
0
2 2
1 2
0 3
4 1
1
2
0
3
Output
1 2
1
-1
3 1 2 4
2060B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)