Triangle Formation
1991F2200· master5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
10 55 2 2 10 4 10 6 1 5 31 62 72 85 104 10
Output
YESNOYESNOYES
58%
1991F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
10 55 2 2 10 4 10 6 1 5 31 62 72 85 104 10
YESNOYESNOYES