很简单,一句话就包含了所有C++头文件了 #include <bits/stdc++.h> 记住,include <bits/stdc++.h> (注意:此头文件被一些评测软件评测时会报错,考试的也会,比如cena)