上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 57 下一页
摘要: Description Bear Limak prepares problems for a programming competition. Of course, it would be unprofessional to mention the sponsor name in the state 阅读全文
posted @ 2017-04-04 23:31 樱花落舞 阅读(312) 评论(0) 推荐(1) 编辑
摘要: Description A tree is an undirected connected graph without cycles. The distance between two vertices is the number of edges in a simple path between 阅读全文
posted @ 2017-04-04 23:22 樱花落舞 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Description In the army, it isn't easy to form a group of soldiers that will be effective on the battlefield. The communication is crucial and thus no 阅读全文
posted @ 2017-04-04 23:01 樱花落舞 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Description Bear Limak examines a social network. Its main functionality is that two members can become friends (then they can talk with each other an 阅读全文
posted @ 2017-04-04 22:54 樱花落舞 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Description Bear Limak wants to become the largest of bears, or at least to become larger than his brother Bob. Right now, Limak and Bob weigh a and b 阅读全文
posted @ 2017-04-04 22:45 樱花落舞 阅读(262) 评论(0) 推荐(0) 编辑
摘要: B - Splatter Painting Time limit : 2sec / Memory limit : 256MB Score : 700 points Problem Statement Squid loves painting vertices in graphs. There is 阅读全文
posted @ 2017-04-02 22:07 樱花落舞 阅读(345) 评论(0) 推荐(0) 编辑
摘要: A - AtCoder Group Contest Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement There are 3N participants in AtCoder Group Con 阅读全文
posted @ 2017-04-02 21:53 樱花落舞 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Description You are developing a new feature for the website which sells airline tickets: being able to sort tickets by price! You have already extrac 阅读全文
posted @ 2017-04-02 21:06 樱花落舞 阅读(292) 评论(0) 推荐(0) 编辑
摘要: Description Input The input consists of four lines, each line containing a single digit 0 or 1. Output Output a single digit, 0 or 1. Example input 01 阅读全文
posted @ 2017-04-02 21:03 樱花落舞 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Description Input The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive. Input The only line 阅读全文
posted @ 2017-04-02 21:00 樱花落舞 阅读(241) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 57 下一页