Cod sursa(job #680265)
Utilizator | Data | 15 februarie 2012 10:37:02 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<fstream>
#include<iostream>
using namespace std;
int main()
{
int a,b;
ifstream infile;
ofstream outfile;
infile.open("adunare.in");
outfile.open("adunare.out");
infile>>a;
infile>>b;
outfile<<a+b;
infile.close();
outfile.close();
return 0;
}