Cod sursa(job #219793)
| Utilizator | Data | 8 noiembrie 2008 11:42:02 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream.h>
int main () {
long a,b,s;
ifstream fin("adunare.in");
fin >>a>>b;
fin.close();
s=a+b ;
ofstream fout("adunare.out");
fout<<s;
fout.close ();
return 0;
}
