摘要: time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output A group of tourists is going to kayak and 阅读全文
posted @ 2018-03-08 22:26 晓风微微 阅读(405) 评论(0) 推荐(0) 编辑
摘要: Vasya has found a strange device. On the front panel of a device there are: a red button, a blue button and a display showing some positive integer. A 阅读全文
posted @ 2018-03-08 22:25 晓风微微 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Petya and Vasya arranged a game. The game runs by the following rules. Players have a directed graph consisting of n vertices and m edges. One of the 阅读全文
posted @ 2018-03-08 22:18 晓风微微 阅读(183) 评论(0) 推荐(0) 编辑
摘要: COURSES Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 24919 Accepted: 9679 Description Consider a group of N students and P courses. Each 阅读全文
posted @ 2018-03-08 22:01 晓风微微 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Farmer John completed his new barn just last week, complete with all the latest milking technology. Unfortunately, due to engineering problems, all th 阅读全文
posted @ 2018-03-08 20:08 晓风微微 阅读(165) 评论(0) 推荐(0) 编辑