Cod sursa(job #2861930)
Utilizator | Data | 4 martie 2022 18:29:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Lista lui wefgef | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int A, B, S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>A>>B;
S=A+B;
g<<S;
f.close();
g.close();
return 0;
}