Cod sursa(job #982716)
Utilizator | Data | 9 august 2013 19:37:26 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
int a,b;
f>>a>>b;
g<<a+b<<'\n';
f.close();
g.close();
return 0;
}