cf/mirror

Triangular numbers

CF
47A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1
Output
YES
Sample 2of 3
Input
2
Output
NO
Sample 3of 3
Input
3
Output
YES
47A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)