Description
The BinaryToDecimal class currently uses the int type to represent binary numbers, which limits the maximum value that can be converted to 2,147,483,647. However, it is sometimes necessary to convert larger binary numbers.
Steps to reproduce
No response
Excepted behavior
The updated BinaryToDecimal class should be able to handle large binary numbers without throwing an exception, and should correctly convert these numbers to decimal. The new test case should pass without errors.
Screenshots
No response
Additional context
No response