Cod sursa(job #2074831)
Utilizator | Data | 25 noiembrie 2017 08:56:46 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int a,b,c;
fstream f("adunare.in");
fstream g("adunare.out");
int main()
{
f>>a >>b;
c=a+b;
f.close();
g<<c;
g.close();
return 0;
}