Cod sursa(job #2951284)
Utilizator | Data | 5 decembrie 2022 21:12:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream o("adunare.out");
int a, b;
f>>a>>b;
o<<a+b<<endl;
f.close();
o.close();
return 0;
}