Codeforces Round #304 (Div. 2) -----CF546

  A. Soldier and Bananas   A soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so on (in other words, he has to pay i·k dollar
相關文章
相關標籤/搜索