Cod sursa(job #760376)
Utilizator | Data | 21 iunie 2012 09:30:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
int main()
{
using namespace std;
int a,b;
ifstream f("adunare.in");
ofstream f1("adunare.out");
f>>a;
f>>b;
f1<<a+b;
f.close();
f1.close();
return 0;
}