Cod sursa(job #1007565)
Utilizator | Data | 9 octombrie 2013 09:18:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <iostream>
#include <fstream>
using namespace std;
int a,b,s;
int main()
{
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}