Cod sursa(job #304479)
Utilizator | Data | 13 aprilie 2009 11:33:43 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
#include <iostream>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s=0;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}