摘要: Misha and Grisha are funny boys, so they like to use new underground. The underground has n stations connected with n - 1 routes so that each route co 阅读全文
posted @ 2017-07-25 19:53 阿波罗2003 阅读(305) 评论(0) 推荐(0) 编辑
摘要: n people are standing on a coordinate axis in points with positive integer coordinates strictly less than 106. For each person we know in which direct 阅读全文
posted @ 2017-07-25 18:26 阿波罗2003 阅读(310) 评论(0) 推荐(0) 编辑
摘要: It's hard times now. Today Petya needs to score 100 points on Informatics exam. The tasks seem easy to Petya, but he thinks he lacks time to finish th 阅读全文
posted @ 2017-07-25 17:59 阿波罗2003 阅读(232) 评论(0) 推荐(0) 编辑
摘要: It's one more school day now. Sasha doesn't like classes and is always bored at them. So, each day he invents some game and plays in it alone or with 阅读全文
posted @ 2017-07-25 17:45 阿波罗2003 阅读(419) 评论(0) 推荐(0) 编辑