Pro1 加法问题 题解#include<bits/stdc++.h>//万能头文件 using namespace std; int main(){ freopen("aplusb.in","r",stdin);//输入文件 freopen("aplusb.out","w",stdout);//输出文件 int a,b,c;//定义变量 cin>>a>>b;//输入 c=a+b; cout<<c;//输出 fclose(stdin); fclose(stdout);//关闭文件 return 0;//养成好习惯 }
|