Cod sursa(job #1127413)
Utilizator | Data | 27 februarie 2014 12:24:16 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
long long a,b,r;
int main ()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
r=a+b;
g<<r;
f.close();
g.close();
}