您的位置:首页 > 编程语言 > C语言/C++

[1104]C++在Noip 2012中的应用

2012-11-05 20:54 232 查看
C++标准库和对应头文件

名字

头文件

bitset

<bitset>

cin

<iostream>

count

<algorithm>

cout

<iostream>

deque

<deque>

endl

<iostream>

fill

<algorithm>

find

<algorithm>

isalpha

<cctype>

islower

<cctype>

ispunct

<cctype>

isspace

<cctype>

istream

<iostream>

isupper

<cctype>

lower_bound

<algorithm>

make_pair

<utility>

map

<map>

max

<algorithm>

min

<algorithm>

multimap

<map>

multiset

<set>

nth_element

<algorithm>

ofstream

<fstream>

ostream

<iostream>

pair

<utility>

priority_queue

<queue>

queue

<queue>

set

<set>

showbase

<iostream>

showpoint

<iostream>

sort

<algrithm>

sqrt

<cmath>

stack

<stack>

strcmp

<cstring>

strcpy

<cstring>

string

<string>

strlen

<cstring>

unique

<algorithm>

upper_bound

<algorithm>

vector

<vector>

vector 向量容器、双端队列容器、list 双向链表容器、bit_vector
位向量容器、string 基本字符序列容器、set 集合容器、multiset 集合容器、map 映照容器、multimap 映照容器、hash_set 哈希集合容器、hash_map 哈希映照容器、stack 堆栈容器、 queue 队列容器和priority_queue 优先队列容器ctime不要用
程序禁止使用内嵌汇编和以下划线开头的库函数或宏(自己定义的除外)。

64位整数只能使用long long类型及unsigned long long类型。

以上均来自Jsoi官方答复
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: