cf/mirror

Pokermon League challenge

CF
717H2400· grandmaster5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4 3
1 2
2 3
4 1
16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 15
16
2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18
16
2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 19
16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 16 19
Output
16 15 19 14
2 2 2 1 1 1 2 1 1 2 1 1 1 2 2 1 1 1 1
717H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)