Cod sursa(job #71659)
| Utilizator | Data | 11 iulie 2007 09:11:58 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#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;
}