Cod sursa(job #357125)
Utilizator | Data | 17 octombrie 2009 23:32:41 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
int main(){
int x,y,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>x>>y;
s=x+y;
g<<s;
f.close();
g.close();
return 0;
}