Cod sursa(job #19309)
Utilizator | Data | 19 februarie 2007 10:44:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream.h>
#include<fstream.h>
int a,b;
int main(){
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close (); g.close ();
}