Cod sursa(job #614537)
Utilizator | Data | 6 octombrie 2011 19:43:07 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int main()
{
int a, b, s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
s = a + b;
g << s;
g.close();
}