Cod sursa(job #372340)
Utilizator | Data | 9 decembrie 2009 17:39:17 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <iostream>
#include "fstream.h"
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
long int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}