Cod sursa(job #2728360)
Utilizator | Data | 23 martie 2021 09:35:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <bits/stdc++.h>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
int a , b , sum;
f >> a >> b;
sum = a + b;
g << sum;
f.close();
g.close();
return 0;
}