Cod sursa(job #1011832)
Utilizator | Data | 17 octombrie 2013 16:29:10 | |
---|---|---|---|
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, z;
int main()
{
f>>a;f>>b;
z=a+b;
g<<z;
g.close();
return 0;
}