Page not loading? Try clicking here.
Placeholder

#4908

등차수열 기초 1s 16MB

Problems

5개 숫자를 입력 받은 후 1씩 증가하면 YES를 출력하고 그렇지 않으면 NO를 출력하는 프로그램을 작성하시오.


Example #1

4 5 6 7 8
YES

Example #2

1 3 4 5 6
NO

Source

JUNGOL - klee
You must sign in to write code.