Cod sursa(job #457200)
Utilizator | Data | 18 mai 2010 16:27:53 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}