Cod sursa(job #2380561)
Utilizator | Data | 15 martie 2019 10:37:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream f("D:\\adunare.in");
ofstream g("D:\\adunare.out");
int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}