SlavicG's Favorite Problem
1760G1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
35 1 41 3 12 3 24 3 33 5 12 1 21 2 26 2 31 2 12 3 13 4 14 5 35 6 5
Output
YESNOYES
58%
1760G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…