随笔分类 -  搜索

J - Goblin Wars BFS
摘要:J -Goblin WarsTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeUVALive 5992Appoint description:DescriptionACM International Collegiate Programming Contest, Asia-Amritapuri Site, 2011Problem J: Goblin WarsThe wizards and witches of Hogwarts School of Witchcraft foun 阅读全文

posted @ 2013-12-03 19:52 keep trying 阅读(390) 评论(0) 推荐(0)

C. Valera and Elections DFS
摘要:C. Valera and Electionstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe city Valera lives in is going to hold elections to the city Parliament.The city hasndistricts andn - 1bidirectional roads. We know that from any district there is a path al 阅读全文

posted @ 2013-11-30 21:06 keep trying 阅读(272) 评论(0) 推荐(0)

I - Biridian Forest BFS+最短路
摘要:I -Biridian ForestTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusAppoint description:DescriptionYou're a mikemon breeder currently in the middle of your journey to become a mikemon master. Your current obstacle is go through the infamous Biridian Forest.The fo 阅读全文

posted @ 2013-11-22 20:45 keep trying 阅读(280) 评论(0) 推荐(0)

D. Block Tower + DFS
摘要:D. Block Towertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter too much playing on paper, Iahub has switched to computer games. The game he plays is called "Block Towers". It is played in a rectangular grid withnrows andmcolumns (i 阅读全文

posted @ 2013-11-22 19:46 keep trying 阅读(229) 评论(0) 推荐(0)

A. Two Semiknights Meet DFS
摘要:A. Two Semiknights Meettime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA boy Petya loves chess very much. He even came up with a chess piece of his own, a semiknight. The semiknight can move in any of these four directions:2squares forward and2squ 阅读全文

posted @ 2013-11-15 20:39 keep trying 阅读(324) 评论(0) 推荐(0)

SGU 484. Kola DFS
摘要:484. KolaTime limit per test: 0.5 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardOne day Vasya decided to buy a bottle of his favourite Kola in the old vending machine. But he forgot that there was a Halloween that day, so evil forces had made an inner structure of the vending 阅读全文

posted @ 2013-10-14 22:38 keep trying 阅读(202) 评论(0) 推荐(0)

Yet Another Multiple Problem HDU 4474 BFS
摘要:Yet Another Multiple ProblemTime Limit: 40000/20000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2004Accepted Submission(s): 482Problem DescriptionThere are tons of problems about integer multiples. Despite the fact that the topic is not original, the content is high 阅读全文

posted @ 2013-10-13 20:35 keep trying 阅读(210) 评论(0) 推荐(0)

导航