#41098: JAVA解題思路


712045@st.lths.tc.edu.tw (程式餓靈)


使用"BigInteger"即可

在取模數的時候使用BigInteger result = input.mod(BigInteger.valueOf(3))