我写了这行代码:
System.out.println(Math.pow(7, 23) % 143); // 7^23 mod 143
我期望输出是,2但输出是93.0.有人知道我做错了什么吗?
2
93.0
java numbers
java ×1
numbers ×1