2013年8月7日

Ping-Pong (Easy Version)(DFS)

摘要: B. Ping-Pong (Easy Version)time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem at each moment you have a set of intervals. You can move from interval(a, b)from our set to interval(c, d)from our set if and only ifc 2 #include 3 #incl.. 阅读全文

posted @ 2013-08-07 20:15 铁树银花 阅读(483) 评论(0) 推荐(0) 编辑

Ciel and Robot

摘要: C. Ciel and Robottime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel has a robot on a 2D plane. Initially it is located in (0, 0). Fox Ciel code a command to it. The command was represented by strings. Each character ofsis one move operation. 阅读全文

posted @ 2013-08-07 01:12 铁树银花 阅读(674) 评论(0) 推荐(0) 编辑

导航