Cod sursa(job #754231)
Utilizator | Data | 1 iunie 2012 09:12:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
# include <iostream>
# include <fstream>
using namespace std;
long a,b;
long long s;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(void)
{
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}