cf/mirror

Stair, Peak, or Neither?

CF
1950A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1 2 3
3 2 1
1 5 3
3 4 1
0 0 0
4 1 7
4 5 7
Output
STAIR
NONE
PEAK
PEAK
NONE
NONE
STAIR
1950A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)