Cod sursa(job #201942)
| Utilizator | Data | 5 august 2008 09:37:20 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <iostream>
#include <fstream>
// Adunare
using namespace std;
int main()
{
long a, b;
ifstream f ("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g ("adunare.out");
g<<a+b;
g.close();
return 0;
}
