Cod sursa(job #395209)
Utilizator | Data | 12 februarie 2010 15:27:22 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{long a,b,S;
fstream f("adunare.in",ios::in),g("adunare.out",ios::out);
f>>a>>b;
S=a+b;
g<<S;
}