Cod sursa(job #588734)
Utilizator | Data | 9 mai 2011 12:43:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
long a;
long b;
int main()
{
f>>a;
f>>b;
a+=b;
g<<a;
return 0;
}