Cod sursa(job #750846)
Utilizator | Data | 23 mai 2012 13:05:43 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
int main()
{
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}