Cod sursa(job #502097)
Utilizator | Data | 17 noiembrie 2010 19:10:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{
long a,b;
ifstream In("adunare.in");
In>>a>>b;
In.close();
a+=b;
ofstream Out("adunare.out");
Out<<a;
Out.close();
return 0;
}