cf/mirror

Determine Winning Islands in Race

CF
1998D2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
6 0
6 1
2 6
6 1
1 5
10 4
1 3
1 6
2 7
3 8
15 3
2 8
4 9
8 15
Output
11111
11011
10011
100001111
11000111000111
1998D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…