Cod sursa(job #807593)
| Utilizator | Data | 4 noiembrie 2012 23:18:28 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f ("adunare.in",ios::in);
ofstream g ("adunare.out",ios::out);
int a, b, suma;
f>>a;
f>>b;
suma=a+b;
g<<suma;
f.close();
g.close();
}
