上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 53 下一页
摘要: 病毒侵袭Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7454Accepted Submission(s): 1961Problem Description当太阳的光辉逐渐被月亮遮蔽,世界失去了光明,大地迎来最黑暗的时刻。。。。在这样的时刻,人们却异常兴奋——我们能在有生之年看到500年一遇的世界奇观,那是多么幸福的事儿啊~~但网路上总有那么些网站,开始借着民众的好奇心,打着介绍日食的旗号,大肆传播病毒。小t不幸成为受害者之一。小t如此生气, 阅读全文
posted @ 2013-07-14 11:27 剑不飞 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory and this may not trouble him, Neal gives it to Jiejie.Since Jiejie can't remember numbers clearly, he just uses sticks to help himself. Allowing for Jiejie' 阅读全文
posted @ 2013-07-11 17:05 剑不飞 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Problem HHalumTime Limit : 3 secondsYou are given a directed graph G(V,E) with a set of vertices and edges. Each edge (i,j) that connects some vertex i to vertex j has an integer cost associated with that edge.Define the operation Halum(v, d) to operate on a vertex v using an integer d as follows: s 阅读全文
posted @ 2013-07-11 10:39 剑不飞 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE在debug8版本(调试版本),就将new(申请内存)的操作符改成DEBUG_NEW,估计会抛异常等带调试手段的函数 取消THIS_FILE这个宏的定义DEBUG_NEW #define new DEBUG_NEW 说明: 帮助查找内存错误。用户在程序中使用DEBUG_NEW,用户通常使用new运算符来从堆上分配。在Debug模式下(但定义了一个DEBUG符号),DEBUG_NEW为它分配的每个对象记录文件名和行号。然后,在用户使用CMemoryState::DumpAllObjec... 阅读全文
posted @ 2013-07-10 09:37 剑不飞 阅读(588) 评论(0) 推荐(0) 编辑
摘要: Fence LoopsThe fences that surround Farmer Brown's collection of pastures have gotten out of control. They are made up of straight segments from 1 through 200 feet long that join together only at their endpoints though sometimes more than two fences join together at a given endpoint. The result 阅读全文
posted @ 2013-07-08 19:32 剑不飞 阅读(201) 评论(0) 推荐(0) 编辑
摘要: #include #include //函数声明 static BOOL InitWindow( HINSTANCE hInstance, int nCmdShow ); LRESULT CALLBACK WinProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); //******************************************************************* //函数:WinMain() //功能:Win32应用程序入口函数。创建主窗口,处理消息循环 //**********.. 阅读全文
posted @ 2013-07-07 20:08 剑不飞 阅读(388) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe army of United Nations launched a new wave of air strikes on terrorist forces. The objective of the mission is to reduce enemy's logistical mobility. Each air strike will destroy a path and therefore increase the shipping cost of the shortest path between two enemy locations. The 阅读全文
posted @ 2013-07-07 17:25 剑不飞 阅读(244) 评论(0) 推荐(0) 编辑
摘要: DescriptionProblem C: A Walk Through the ForestJimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To relax after a hard day, he likes to walk home. To make things even nicer, his office is on one side of a forest, and his house is on the other 阅读全文
posted @ 2013-07-07 12:04 剑不飞 阅读(374) 评论(0) 推荐(0) 编辑
摘要: DescriptionProblem D: Airport ExpressIn a small city called Iokh, a train service,Airport-Express, takes residents to the airport more quickly than other transports. There are two types of trains in Airport-Express, theEconomy-Xpressand theCommercial-Xpress. They travel at different speeds, take dif 阅读全文
posted @ 2013-07-07 11:18 剑不飞 阅读(241) 评论(0) 推荐(0) 编辑
摘要: N(3N20000)ping pong players live along a west-east street(consider the street as a line segment). Each player has a unique skill rank. To improve their skill rank, they often compete with each other. If two players want to compete, they must choose a referee among other ping pong players and hold th 阅读全文
posted @ 2013-07-06 20:44 剑不飞 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 53 下一页