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