jh05013   4년 전

예제 1에는 b=0인 특수 케이스밖에 없고, 실제 대회 때는 b>0인 예제가 추가로 주어졌습니다.

startlink   4년 전

수정했습니다.

xiaowuc1   3년 전

This is incorrect. From https://open.kattis.com/problems/rollercoasterfun, it should be the following:

Sample Input II
1
100 3 2
5
2
3
4
5
100
Sample Output II
100
100
197
197
435

startlink   3년 전

재채점했습니다.

댓글을 작성하려면 로그인해야 합니다.