Cod sursa(job #670637)
Utilizator | Data | 29 ianuarie 2012 17:47:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.33 kb |
#import<iostream>
#include <fstream>
using namespace std;
int main(){
ifstream ifile;
ofstream ofile;
int a,b;
ifile.open("adunare.in");
ifile>>a>>b;
//cout<<a<<" "<<b;
ifile.close();
ofile.open("adunare.out");
ofile<<a+b;
ofile.close();
return 0;
}