Cod sursa(job #620828)
Utilizator | Data | 16 octombrie 2011 16:32:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int b,s,a;
int main(){
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}