Cod sursa(job #71658)
Utilizator | Data | 11 iulie 2007 09:10:09 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include "iostream.h"
#include "fstream.h"
int main()
{
long int a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream j("adunare.out");
j<<a+b;
j.close();
return 1;
}