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