G2 - Genuine Multiple Dependencies [Hard]

2 secs 1024 MB
uni_kakurenbo's icon uni_kakurenbo

testcase-16


入力

出力