Cod sursa(job #827258)
| Utilizator | Data | 1 decembrie 2012 21:19:10 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
# include <fstream>
#include <iostream>
using namespace std;
int main ()
{
fstream f("adunare",ios::in),g("adunare",ios::out);
int a,b;
cin>>a;cin>>b;f<<a<<endl;f<<b;
g<<a+b;
f.close();g.close();
return 0;}
