Mai intai trebuie sa te autentifici.
Cod sursa(job #761200)
Utilizator | Data | 25 iunie 2012 10:33:53 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
# include <fstream>
using namespace std;
int main()
{
int a,b,S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
S=a+b;
g<<S;
f.close ();
g.close ();
return 0;
}