F - Sequence
Time Limit:6000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Given m sequences, each contains n non-negative integer. Now we ma...
分类:
其他好文 时间:
2014-08-05 00:51:18
阅读次数:
284
题目:
For Fans of Statistics
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64
Description
Have you ever thought about how many people are transported...
分类:
其他好文 时间:
2014-08-04 21:44:08
阅读次数:
381
H - Black Box
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Our Black Box represents a primitive database. It can save an int...
分类:
其他好文 时间:
2014-08-04 21:29:40
阅读次数:
523
G - For Fans of Statistics
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Have you ever thought about how many people are tran...
分类:
其他好文 时间:
2014-08-04 21:29:28
阅读次数:
318
Message Flood Time Limit:1500MS Memory Limit:65536KB 64bit IO Format:%lld & %lluDescriptionWell, how do you f...
分类:
其他好文 时间:
2014-08-04 21:01:57
阅读次数:
295
Map是STL的一个关联容器,它提供一对一(其中第一个可以称为关键字,每个关键字只能在map中出现一次,第二个可能称为该关键字的值)的数据处理能力,由于这个特性,它完成有可能在我们处理一对一数据的时候,在编程上提供快速通道。这里说下map内部数据的组织,map内部自建一颗红黑树(一种非严格意义上的平...
分类:
其他好文 时间:
2014-08-04 20:36:57
阅读次数:
234
STL真心方便啊。这题分别用了map和set做了一下。注意这个题有个坑点,就是不区分大小写。。。。。...
分类:
其他好文 时间:
2014-08-04 18:01:50
阅读次数:
286
题目地址:POJ 2418
通过这个题查了大量资料。。知道了很多以前不知道的东西。。。。
在代码中注释说明吧。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int main()
{
...
分类:
其他好文 时间:
2014-08-04 14:30:57
阅读次数:
172
使用STL容器 multiset
代码:
#include
#include
#include
using namespace std;
typedef multiset > intSet;
typedef multiset >::iterator intIter;
void findMaxNum(const vector &data,int k){
intSet Max;
...
分类:
其他好文 时间:
2014-08-04 14:20:17
阅读次数:
197
STL数据结构(vector,map)基本操作 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main (){10 int n,m...
分类:
其他好文 时间:
2014-08-04 13:31:47
阅读次数:
283