Cod sursa(job #381686)
Utilizator | Data | 11 ianuarie 2010 12:51:00 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int a,b;
int main()
{
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
return 0;
}