Cod sursa(job #539015)
Utilizator | Data | 22 februarie 2011 10:43:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main (void)
{
int b;
long a;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
a+=b;
ofstream g("adunare.out");
g<<a;
g.close();
return 1;
}