Cod sursa(job #370472)
Utilizator | Data | 1 decembrie 2009 13:09:28 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{
ifstream x("Adunare.in",ios::in|ios::noreplace);
ofstream y("Adunare.out",ios::out|ios::noreplace);
unsigned int a,b,c=0;
x>>a>>b;
c=a+b;
y<<c;
x.close();
y.close();
return 0;
}