Cod sursa(job #1652096)
Utilizator | Data | 14 martie 2016 17:24:36 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int main()
{
int x,y;
f1>>x>>y;
f2<<x+y;
f1.close(); f2.close();
return 0;
}