Cod sursa(job #3286685)
Utilizator | Data | 14 martie 2025 15:32:21 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
ifstream fi("adunare.in");
ofstream fo("adunare.out");
int a,b;
int s;
int main()
{
fi>>a>>b;
s=a+b;
fo<<s;
fi.close();
fo.close();
return 0;
}