Cod sursa(job #806598)
| Utilizator | Data | 3 noiembrie 2012 09:20:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b,c;
ifstream f("Adunare.in");
ofstream g("Adunare.out");
f>>a>>b;
c=a+b;
g<<c;
f.close();
g.close();
return 0;
}
