Cod sursa(job #220144)
Utilizator | Data | 9 noiembrie 2008 17:03:37 | |
---|---|---|---|
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,c;
ifstream f("adunare.in") ;
f>>a;
f>>b;
f.close () ;
c=a+b;
ofstream g("adunare.out") ;
g<<c;
g.close ();
return 0;
}