zoukankan      html  css  js  c++  java
  • 万能头文件#include "bits/stdc++.h"

    发现新大陆

    刷题过程中,题解中出现一个陌生的头文件bits/stdc++.h

    万能头文件 只要用了这个头文件 其他的就不用写了。

    相对平常的:

     1 #include "algorithm"
     2 #include "cstdlib"
     3 #include "cstring"
     4 #include "cmath"
     5 #include "iostream"
     6 #include "vector"
     7 #include "cstdio" 
     8 #include "fstream"
     9 #include "deque" 
    10 #include "vector" 
    11 #include "queue" 
    12 #include "string"
    13 #include "map" 
    14 #include "stack" 
    15 #include "set" 
    16 
    17 using namespace std;
    18 
    19 int main(){
    20     // 巴拉巴拉
    21     return 0;
    22 }

    而你以后只需要

    1 #include "bits/stdc++.h"
    2 
    3 using namespace std;
    4 
    5 int main(){
    6     return 0;
    7 }

    就?了。

  • 相关阅读:
    前端基础知识1
    mysql作业
    mysql了解知识点
    mysql3
    数据库作业2
    循环结构经典题型
    计算1
    猜数字游戏
    css的显示
    定位和position定位
  • 原文地址:https://www.cnblogs.com/nanshaobit/p/12464637.html
Copyright © 2011-2022 走看看