Cod sursa(job #873114)
Utilizator | Data | 6 februarie 2013 21:26:52 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int a,b;
int main()
{
f>>a>>b;
g<<a+b;
g.close();
f.close();
return 0;
}