Cod sursa(job #792996)
Utilizator | Data | 1 octombrie 2012 18:39:53 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | fpc | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{
long A,B;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>A>>B;
g<<A+B;
g.close();
return 0;
}