Cod sursa(job #597401)
Utilizator | Data | 22 iunie 2011 00:18:16 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>
#include <fstream.h>
int main();
{
long long S;
int a,b;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
f1>>a>>b;
S=a+b;
f2<<S;
f1.close();
f2.close();
}