Cod sursa(job #664679)
Utilizator | Data | 20 ianuarie 2012 17:33:49 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
#include<iostream.h>
int main(){
long a,b;
ifstream f("Adunare.in");
ofstream g("Adunare.out");
f>>a;f>>b;g<<a+b;
f.close();
g.close();
return 0;
}