Cod sursa(job #1235932)
| Utilizator | Data | 30 septembrie 2014 22:18:45 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream.h>
using namespace std;
int main()
{
int a;
int b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;//citeste a;
f>>b;//citeste b;
g<<a+b<<endl;
f.close();
g.close();
return 0;
}
