Cod sursa(job #327292)
Utilizator | Data | 28 iunie 2009 02:40:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{
int a,b,c;
ifstream x("adunare.in");
x>>a;
x>>b;
x.close();
c=a+b;
ofstream y("adunare.out");
y<<c;
y.close();
return 0;
}