Cod sursa(job #1645892)
| Utilizator | Data | 10 martie 2016 14:16:05 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
f>>a>>b;
s=a+b;
g<<"Suma numerelor este: "<<s;
return 0;
}
