DFS Checker (Hard Version)
2002D22300· international master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
33 31 11 2 32 33 21 37 41 1 2 2 3 31 2 3 4 5 6 73 52 53 74 65 41 1 3 42 3 4 5 15 14 53 42 3
Output
YESYESNOYESNONOYESYESNONOYES
58%
2002D2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…