Cod sursa(job #475562)
Utilizator | Data | 7 august 2010 15:03:16 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int x,y;
ifstream a("adunare.in");
ofstream b("adunare.out");
a>>x>>y;
rez=x+y;
b<<rez;
a.close();
b.close();
return 0;
}