Cod sursa(job #2985100)
| Utilizator | Data | 25 februarie 2023 17:40:14 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{ int a,b,suma;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
suma=a+b;
g<<suma;
f.close();
g.close();
return 0;
}
