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