Cod sursa(job #3274147)
Utilizator | Data | 5 februarie 2025 15:27:06 | |
---|---|---|---|
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;
int main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
int a, b, s=0;
f>>a>>b;
s=a+b;
g<<s;
cout<<s;
f.close();
g.close();
}