Cod sursa(job #34544)
Utilizator | Data | 20 martie 2007 21:13:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
#include<iostream>
int main()
{
long b,a,s;
ifstream f("aunare.in");
ofstream g("adunare.out");
f<<a;
f<<b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}