Cod sursa(job #660207)
Utilizator | Data | 11 ianuarie 2012 21:56:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,S;
f>>a>>b;
S=a+b;
g<<S;
f.close();
g.close();
return 0;
}