1. 程式人生 > >題解報告:hdu 4704 Sum

題解報告:hdu 4704 Sum

put width desc src 圖片 wid alt ac代碼 技術分享

Problem Description

技術分享圖片

Sample Input

2

Sample Output

2 Hint 1. For N = 2, S(1) = S(2) = 1. 2. The input file consists of multiple test cases. 解題思路: AC代碼:

題解報告:hdu 4704 Sum