随笔分类 - codeforce
摘要:Of course you have heard the famous task about Hanoi Towers, but did you know that there is a special factory producing the rings for this wonderful g
阅读全文
摘要:Each New Year Timofey and his friends cut down a tree of n vertices and bring it home. After that they paint all the n its vertices, so that the i-th
阅读全文
摘要:Dasha decided to have a rest after solving the problem. She had been ready to start her favourite activity — origami, but remembered the puzzle that s
阅读全文
摘要:Student Arseny likes to plan his life for n days ahead. He visits a canteen every day and he has already decided what he will order in each of the fol
阅读全文