标签:iostream c++ out AC bsp \n names ios space
比cin快很多
#include <iostream>
#include<fstream>
using namespace std;
ifstream fin("aplusb.in");
ofstream fout("aplusb.out");
int main()
{
int a,b;
while(fin>>a>>b)
fout<<a+b<<"\n";
return 0;
}
这里没有学过,一片空白,看到书上感觉很奇妙
标签:iostream c++ out AC bsp \n names ios space
原文地址:https://www.cnblogs.com/soberzml/p/8758815.html