Cod sursa(job #793330)
Utilizator | Data | 2 octombrie 2012 16:36:01 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
# include <iostream>
# include <fstream>
# include <stdio.h>
using namespace std;
int a,b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
f.close();
g<<a+b;
g.close();
return 0;
}