摘要:
题目 Slastyona and her loyal dog Pushok are playing a meaningless game that is indeed very interesting. The game consists of multiple rounds. Its rules 阅读全文
摘要:
题目 Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible 阅读全文
摘要:
Description An army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the p 阅读全文
摘要:
题目 Input The first line contains an integer n (2≤n≤3000), the number of gangs in the network. Each of the next n−1 lines contains integers ui and vi ( 阅读全文
摘要:
题目 A Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone h 阅读全文