Cod sursa(job #2989371)
Utilizator | Data | 6 martie 2023 15:24:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-32 | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream>
#include <fstream>
ifstream("suma.in");
ofstream("suma.out");
using namespace std;
unsigned a,b,S;
int main()
{
cout<<"a=";
f>>a;
cout<<"b=";
f>>b;
S=a+b;
g<<S;
f.close();
g.close();
return 0;
}