0_0_39064287_25565\Main.java:3: 错误: 需要class, interface或enum
public ProblemJ {
^
0_0_39064287_25565\Main.java:4: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
0_0_39064287_25565\Main.java:6: 错误: 需要class, interface或enum
int t = input.nextInt();
^
0_0_39064287_25565\Main.java:7: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064287_25565\Main.java:7: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064287_25565\Main.java:7: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064287_25565\Main.java:10: 错误: 需要class, interface或enum
a = input.nextInt();
^
0_0_39064287_25565\Main.java:11: 错误: 需要class, interface或enum
m = input.nextInt();
^
0_0_39064287_25565\Main.java:12: 错误: 需要class, interface或enum
n = input.nextInt();
^
0_0_39064287_25565\Main.java:13: 错误: 需要class, interface或enum
k = input.nextInt();
^
0_0_39064287_25565\Main.java:14: 错误: 需要class, interface或enum
res1 = gmod(a, m, n, k);
^
0_0_39064287_25565\Main.java:15: 错误: 需要class, interface或enum
System.out.println(res1);
^
0_0_39064287_25565\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_39064287_25565\Main.java:22: 错误: 需要class, interface或enum
int B = Power(a, n - 1, k);
^
0_0_39064287_25565\Main.java:23: 错误: 需要class, interface或enum
int gcd =gcd(A,B);
^
0_0_39064287_25565\Main.java:24: 错误: 需要class, interface或enum
return gcd % k;
^
0_0_39064287_25565\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_39064287_25565\Main.java:30: 错误: 需要class, interface或enum
base = base % modulo;
^
0_0_39064287_25565\Main.java:31: 错误: 需要class, interface或enum
while (exp > 0) {
^
0_0_39064287_25565\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_39064287_25565\Main.java:36: 错误: 需要class, interface或enum
exp /= 2;
^
0_0_39064287_25565\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_39064287_25565\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_39064287_25565\Main.java:46: 错误: 需要class, interface或enum
} else {
^
0_0_39064287_25565\Main.java:48: 错误: 需要class, interface或enum
}
^
25 个错误
|