Cod sursa(job #96899)
Utilizator | Data | 4 noiembrie 2007 09:47:00 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<iostream.h>
#include<fstream.h>
int main() {
fstream f("adunare.in", ios::in);
long a,b;
f>>a>>b;
f.close();
if(a+b<2000000000) {fstream f2("adunare.out", ios::out); f2<<a+b; f2.close();}
else;
return 0;
}