2013年8月28日

Xenia and Weights(深度优先搜索)

摘要: Xenia and Weightstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia has a set of weights and pan scales. Each weight has an integer weight from 1 to 10 kilos. Xenia is going to play with scales and weights a little. For this, she puts weights 阅读全文

posted @ 2013-08-28 15:04 铁树银花 阅读(454) 评论(0) 推荐(0) 编辑

Fire!(BFS)

摘要: Fire!Time Limit:1000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusDescriptionProblem B: Fire!Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. Help Joe escape the maze.Given Joe's locatio 阅读全文

posted @ 2013-08-28 12:22 铁树银花 阅读(543) 评论(0) 推荐(0) 编辑

导航