It seems to be a very easy problem, but I'm not finding an *equation *that solves it... could someone help me with the steps?
Brief: A king pays 1 gold coin to a knight on the first day. 2 gold coins for the next 2 days, 3 gold coins for the next 3 days, and so on... Given a day N, how much gold coins the knight must receive? Link: http://acm.uva.es/archive/nuevoportal/data/problem.php?p=3045 Thank you all! :-) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
