Set To Max (Hard Version)
1904D21800· expert4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
551 2 3 2 41 3 3 2 453 4 2 2 43 4 3 4 453 2 1 1 13 3 3 2 221 11 231 1 22 1 2
Output
YESNOYESNONO
58%
1904D2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)