Cod sursa(job #327282)
Utilizator | Data | 28 iunie 2009 01:54:46 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream.h>
#include<fstream.h>
void main()
{
ifstream x("Adunare.in",ios::in|ios::noreplace);
ofstream y("Adunare.out",ios::out|ios::in);
unsigned int a,b;
x>>a>>b;
y<<(a+b);
x.close();
y.close();
}