Cod sursa(job #627016)
| Utilizator | Data | 28 octombrie 2011 20:00:45 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
#include<iostream>
using namespace std;
long a,b,c;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int main()
{
f1>>a>>b;
f2<<a+b;
f1.close();
f2.close();
}