Cod sursa(job #752325)
Utilizator | Data | 28 mai 2012 13:01:26 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
#include<iostream.h>
void main()
{int a,b,s=0;
ifstream f("suma.in");
ofstream g("suma.out");
f>>a;
f>>b;
f.close();
s=a+b;
cout<<s;
}