摘要: #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 剑不飞 阅读(433) 评论(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 剑不飞 阅读(260) 评论(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 剑不飞 阅读(403) 评论(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 剑不飞 阅读(279) 评论(0) 推荐(0)