Interactive Graph (Hard Version)
2196C22000· candidate master2s256 MB⇄ interactive
Examples
Sample 1of 1
Input
351 12 1 23 1 2 43 1 2 52 1 33 1 3 43 1 3 51 21 31 41 51021 11 22 2 1
Output
? 1? 2? 3? 4? 5? 6? 7? 8? 11? 14? 15! 61 31 22 43 42 53 5? 2! 0? 1? 2? 3! 12 1
58%
2196C2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…