Cod sursa(job #492289)
Utilizator | Data | 14 octombrie 2010 07:51:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
f>>a>>b;f.close();
c=a+b;
g<<c<<"\n";g.close();
return 0;
}