// BEGIN CUT HERE int main() { { BinaryCards theObject; eq(0, theObject.largestNumber(1L, 1000000000000000000L),1152921504606846975LL); } { BinaryCards theObject; eq(0, theObject.largestNumber(6L, 6L),6LL); } { BinaryCards theObject; eq(1, theObject.largestNumber(6L, 7L),7LL); } { BinaryCards theObject; eq(2, theObject.largestNumber(6L, 8L),15LL); } { BinaryCards theObject; eq(3, theObject.largestNumber(1L, 11L),15LL); } { BinaryCards theObject; eq(4, theObject.largestNumber(35L, 38L),39LL); } { BinaryCards theObject; eq(5, theObject.largestNumber(1125899906842630L, 1125899906842632L),1125899906842639LL); } { BinaryCards theObject; eq(5, theObject.largestNumber(3453454L, 9838457349857439L),18014398509481983LL); } return 0; }
int main(){ BinaryCards B; cout << B.largestNumber(1125899906842630,1125899906842632) << endl; return 0; }