Cod sursa(job #979014)
| Utilizator | Data | 31 iulie 2013 10:15:38 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Lista lui wefgef | Marime | 0.24 kb |
#include<fstream>
using namespace std;
int main(){
int a,b,s;
fstream f;
fstream g;
f.open("adunare.in", fstream::in);
f>>a;
f>>b;
f.close();
s=a+b;
g.open("adunare.out", fstream::out);
if(s<2000000000)
g<<s;
g.close();
return 0;
}