kmjp's blog
id:kmjp
TopCoder SRM 616 Div1 Medium ColorfulCoins
なかなか面白い問題。 http://community.topcoder.com/stat?c=problem_statement&pm=13061