加不加入 #include<cstdio> 对于该题来说有什么区别

P1634 禽兽的传染病

# 谁说一定要用bits/stdc++.h???? 蒟蒻必备头文件表: # C ## stdio.h 或 cstdio : printf,scanf,sprintf,puts,gets,getchar,putchar,ungetc,fprintf,fscanf,fopen,freopen... ## string.h 或 cstring : strcmp,strcpy,strlen,memset,memcpy... ## stdlib.h 或 cstdlib : exit,abort,qsort (C的记住了!!!),system,srand,rand,malloc,calloc,realloc,free... ## stdarg.h 或 cstdarg va_list,va_start,va_arg,va_end... ## stdint.h 或 cstdint ## stdbool.h 或 cstdbool (没什么用) _int8, _int16, _int32, _int64, _Bool... ## math.h 或 cmath : abs,sin,cos,tan,asin,acos,atan,atan2,floor,ceil,round,sqrt,pow,exp... ## ctype.h 或 cctype : isprint,isspace,iscntrl,isalpha,isdigit,toupper,tolower... **(以上仅为最常用)** # C++(正常篇) ## iostream : cin,cout,cerr,clog,cin.get,cin.getline,cin.peek,cin.eofbit,cin.failbit,cin.clear,cout.put,cout.write,cout.width,cout.setf,cout.unsetf,cout.precision... # C++(STL) ## algorithm : (多到发指……) max,min,stable_sort,sort,binary_search,make_heap,set_union,set_intersection,set_difference... ## string : append,assign,string::npos,insert,operator(+,+=,<,>,==,!=,<=,>=,[]),erase... ## set & map & pair & tuple & queue & stack & vector & array ~~(不知道)~~ # 但是 # 虽然整理了那么多,难道我还不是一个蒟蒻????? ~~(光速逃跑)~~
by 5ab_juruo @ 2018-12-16 19:55:01


2
by abtbu @ 2019-02-19 20:21:12


上一页 |