Cod sursa(job #170381)
Utilizator | Data | 2 aprilie 2008 18:22:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
using namespace std;
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}