Cod sursa(job #130973)
Utilizator | Data | 2 februarie 2008 18:49:23 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream.h>
int main(void)
{
long a,b;
long c;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a>>b;
c=a+b;
fout<<c;
return 0;
}