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