Cod sursa(job #492310)
Utilizator | Data | 14 octombrie 2010 08:01:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
long a,b,c;
ifstram f("adunare.in");
offstrem g("adunare.out");
int main()
{f>>a>>b; f.close();
c=a+b
g<<c<<\n'; f.close(); return 0:
{