#41098: JAVA解題思路


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

學校 : 嶺東高級中學
編號 : 140198
來源 : [123.194.13.171]
最後登入時間 :
2025-09-23 16:37:21

使用"BigInteger"即可

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