kcits970   1년 전

(Input description, 2nd paragraph)

"Each data set consists of a single line of input consisting of three space separated decimal integers. The first integer is the data set number. The second integer is row number m, and the third integer is the index k within the row of the entry for which you are to find F(m, k), the Faulhaber's Triangle entry (0 ≤ m ≤ 400, 1 ≤ k ≤ m + 1)."

The first integer (the data set number) is never provided in the input stream. The input description should be changed as below.

(Suggestion)

"Each data set consists of a single line of input consisting of two space separated decimal integers. The first integer is row number m, and the second integer is the index k within the row of the entry for which you are to find F(m, k), the Faulhaber's Triangle entry (0 ≤ m ≤ 400, 1 ≤ k ≤ m + 1)."

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