kcits970   10달 전

The problem statement explicitly mentions that m and K will fit inside a 32 bit integer, and this is false (as indicated by the assertion error here).

I do not know the exact upper bound of the test data, but they all seem to fit inside a 64 bit (unsigned) integer.

The problem statement should be changed as below.

"but the input will be chosen so that m and K will each fit in a 3264 bit integer."

댓글을 작성하려면 로그인해야 합니다.