Cod sursa(job #327285)
| Utilizator | Data | 28 iunie 2009 02:11:12 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<iostream.h>
#include<fstream.h>
using namespace std;
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;
}
