Von Neuman Loves Binary Error

Works fine on online IDE but gives compile time error on submitting