Cod sursa(job #142415)
| Utilizator | Data | 24 februarie 2008 16:38:57 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.24 kb |
#include<fstream.h>
int a,b,s;
int main()
{
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a>>b;
s=a+b;
fout<<s;
fin.close();
fout.close();
return 0;
}
