Cod sursa(job #2300114)
Utilizator | Data | 10 decembrie 2018 21:31:35 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a; f >> a;
int b; f >> b;
g << a + b;
g.close();
f.close();
}