Omkar and Medians
1536D2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
546 2 1 31454 -8 5 6 -723 342 1 2 3
Output
NOYESNOYESYES
Sample 2of 2
Input
58-8 2 -6 -5 -4 3 3 271 1 3 1 0 -2 -176 12 8 6 2 6 1065 1 2 3 6 751 3 4 3 0
Output
NOYESNONONO
58%
1536D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)