08 2014 档案

摘要:SubmitStatus DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pi... 阅读全文
posted @ 2014-08-12 13:11 冷夏的博客园 阅读(161) 评论(0) 推荐(0)
摘要:SubmitStatus DescriptionThese are N cities in Spring country. Between each pair of cities there may be one transportation track or none. Now there is ... 阅读全文
posted @ 2014-08-11 15:36 冷夏的博客园 阅读(131) 评论(0) 推荐(0)
摘要:SubmitStatus DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He ... 阅读全文
posted @ 2014-08-11 09:50 冷夏的博客园 阅读(156) 评论(0) 推荐(0)
摘要:Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:39960Accepted:16256DescriptionFarmer John has been elected mayor of his town! One of his... 阅读全文
posted @ 2014-08-08 15:34 冷夏的博客园 阅读(267) 评论(0) 推荐(0)
摘要:SubmitStatusDescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect ... 阅读全文
posted @ 2014-08-08 14:58 冷夏的博客园 阅读(146) 评论(0) 推荐(0)
摘要:SubmitStatus DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the element... 阅读全文
posted @ 2014-08-08 11:38 冷夏的博客园 阅读(143) 评论(0) 推荐(0)
摘要:B -StarsTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionAstronomers often examine star maps where stars are r... 阅读全文
posted @ 2014-08-07 20:32 冷夏的博客园 阅读(254) 评论(0) 推荐(0)
摘要:DescriptionOrder is an important concept in mathematics and in computer science. For example, Zorn's Lemma states: ``a partially ordered set in which ... 阅读全文
posted @ 2014-08-07 10:54 冷夏的博客园 阅读(381) 评论(0) 推荐(0)
摘要:The House Of Santa ClausIn your childhood you most likely had to solve the riddle of the house of Santa Claus. Do you remember that the importance was... 阅读全文
posted @ 2014-08-05 18:11 冷夏的博客园 阅读(238) 评论(0) 推荐(0)
摘要:A -Prime Path(11.1.1)Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe ministers of the cabinet were quite ... 阅读全文
posted @ 2014-08-05 15:55 冷夏的博客园 阅读(227) 评论(0) 推荐(0)
摘要:DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needsN(1 ≤N≤ 20,000) pl... 阅读全文
posted @ 2014-08-03 13:26 冷夏的博客园 阅读(175) 评论(0) 推荐(0)
摘要:库是一系列程序组件的集合,他们可以在不同的程序中重复使用。C++语言按照传统的习惯,提供了由各种各样的函数组成的库,用于完成诸如输入/输出、数学计算等功能。1. STL介绍标准模板库STL是当今每个从事C++编程的人需要掌握的技术,所有很有必要总结下本文将介绍STL并探讨它的三个主要概念:容器、迭代... 阅读全文
posted @ 2014-08-01 11:27 冷夏的博客园 阅读(252) 评论(0) 推荐(0)
摘要:代码/*#include #include using namespace std;int main(){queueq;int b,i;for(i=0;i>b;q.push(b);}cout#include using namespace std;int main(){priority_queue ... 阅读全文
posted @ 2014-08-01 10:37 冷夏的博客园 阅读(305) 评论(0) 推荐(0)
摘要:DescriptionMessage queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to t... 阅读全文
posted @ 2014-08-01 09:41 冷夏的博客园 阅读(217) 评论(0) 推荐(0)