Cod sursa(job #20809)
| Utilizator | Data | 22 februarie 2007 12:35:00 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
ifstream in("adunare.in");
ofstream out("adunare.out");
long int a,b,s;
in>>a;
in>>b;
s=a+b;
out<<s;
in.close();
out.close();
return 0;
}
