Cod sursa(job #216074)
Utilizator | Data | 22 octombrie 2008 16:13:24 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b;
fstream f1 ("c://suma.in", ios::in);
f1>>a;
f1>>b;
f1.close();
fstream f2 ("c://suma.out", ios::out);
f2<<a+b;
f2.close();
}