cf/mirror

World Football Cup

CF
19A1400· specialist2s64 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4
A
B
C
D
A-B 1:1
A-C 2:2
A-D 1:0
B-C 1:0
B-D 0:3
C-D 0:3
Output
A
D
Sample 2of 2
Input
2
a
A
a-A 2:1
Output
a
19A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)