Cod sursa(job #919691)
| Utilizator | Data | 19 martie 2013 19:38:08 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
int main(){
f>>a>>b;
s=a+b;
g<<s<<' '<<'\n';
g.close();
return 0;
}
