Cod sursa(job #463066)
Utilizator | Data | 14 iunie 2010 14:53:04 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
int x,y;
f>>x;
f>>y;
ofstream g("adunare.out");
g<<x+y;
g.close();
return 0;
}