随笔分类 -  STL

摘要:HyperspaceTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 651Accepted Submission(s): 295Problem DescriptionThe great Mr.Smith has invented a hyperspace particle generator. The device is very powerful. The device can generate a hyperspace. In the 阅读全文
posted @ 2013-08-14 20:39 剑不飞 阅读(210) 评论(0) 推荐(0)
摘要:Car race gameTime Limit 1000msMemory Limit 65536Kdescription Bob is a game programming specialist. In his new car race game, there are some racers(n means the amount of racers (1 output For each data set in the input print on a separate line, on the standard output, the integer that represe... 阅读全文
posted @ 2013-05-05 14:19 剑不飞 阅读(246) 评论(0) 推荐(0)
摘要:C. Petya and File Systemtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, on a programming lesson little Petya showed how quickly he can create files and folders on the computer. But he got soon fed up with this activity, and he decided t 阅读全文
posted @ 2013-04-10 19:25 剑不飞 阅读(236) 评论(0) 推荐(0)
摘要:D -Harry Potter and the Sorting HatTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 65DDescriptionAs you know, Hogwarts has four houses: Gryffindor, Hufflepuff, Ravenclaw and Slytherin. The sorting of the first-years into houses is done by the Sor 阅读全文
posted @ 2013-04-05 12:51 剑不飞 阅读(272) 评论(0) 推荐(0)
摘要:C -Three Base StationsTime Limit:2000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 51CDescriptionThe New Vasjuki village is stretched along the motorway and that's why every house on it is characterized by its shift relative to some fixed point — thexicoo 阅读全文
posted @ 2013-03-20 11:25 剑不飞 阅读(357) 评论(0) 推荐(0)
摘要:C. Dancing Lessonstime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere arenpeople taking dancing lessons. Every person is characterized by his/her dancing skillai. At the beginning of the lesson they line up from left to right. While there is at 阅读全文
posted @ 2013-03-05 16:00 剑不飞 阅读(283) 评论(0) 推荐(0)
摘要:E. Holestime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputLittle Petya likes to play a lot. Most of all he likes to play a game «Holes». This is a game for one person with following rules:There are N holes located in a single row and number 阅读全文
posted @ 2013-01-13 16:51 剑不飞 阅读(184) 评论(0) 推荐(0)
摘要:D - BallTime Limit:3000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 12DDescriptionN ladies attend the ball in the King's palace. Every lady can be described with three values: beauty, intellect and richness. King's Master of Ceremonies knows that lad 阅读全文
posted @ 2013-01-11 16:29 剑不飞 阅读(192) 评论(0) 推荐(0)