Cod sursa(job #546470)
Utilizator | Data | 4 martie 2011 23:13:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
}