Cod sursa(job #98705)
Utilizator | Data | 10 noiembrie 2007 16:05:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main (){
long a,b,s=0;
ifstream in ("adunare.in");
ofstream out ("adunare.out");
in>>a;
in>>b;
s=a+b;
out<<s;
return 0;
}