好久没来写题了,有很多原因,不多说了, 现在抓紧时间来开始刷题就行了。。。
Gold Coins
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 21467
Accepted: 13457
Description
The king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two days (the second and third days of service), the knight receives two gold coins. On each
of the next three days (the fourth, fifth, and sixth days of service), ......
阅读全文