0_0_21979338_19980\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_21979338_19980\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_21979338_19980\Main.java:3: 错误: 需要class, interface或enum
const int N = 50000;
^
0_0_21979338_19980\Main.java:4: 错误: 需要class, interface或enum
int a[N], t, x, m;
^
0_0_21979338_19980\Main.java:5: 错误: 需要class, interface或enum
int judge(int m) {
^
0_0_21979338_19980\Main.java:7: 错误: 需要class, interface或enum
a[1] = 98%m;
^
0_0_21979338_19980\Main.java:8: 错误: 需要class, interface或enum
for (int i = 2; ; ++ i) {
^
0_0_21979338_19980\Main.java:8: 错误: 需要class, interface或enum
for (int i = 2; ; ++ i) {
^
0_0_21979338_19980\Main.java:10: 错误: 需要class, interface或enum
if(a[i-1]==a[0]&&a[i]==a[1]) return i-1;
^
0_0_21979338_19980\Main.java:11: 错误: 需要class, interface或enum
}
^
0_0_21979338_19980\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_21979338_19980\Main.java:16: 错误: 需要class, interface或enum
while(b) {
^
0_0_21979338_19980\Main.java:18: 错误: 需要class, interface或enum
b >>= 1;
^
0_0_21979338_19980\Main.java:19: 错误: 需要class, interface或enum
a = a * a % mod;
^
0_0_21979338_19980\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_21979338_19980\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_21979338_19980\Main.java:26: 错误: 需要class, interface或enum
for (int i = 1; i <= t; ++ i) {
^
0_0_21979338_19980\Main.java:26: 错误: 需要class, interface或enum
for (int i = 1; i <= t; ++ i) {
^
0_0_21979338_19980\Main.java:26: 错误: 需要class, interface或enum
for (int i = 1; i <= t; ++ i) {
^
0_0_21979338_19980\Main.java:28: 错误: 需要class, interface或enum
int cmr = judge(m);
^
0_0_21979338_19980\Main.java:29: 错误: 需要class, interface或enum
int cwt = qmod(2, x, cmr);
^
0_0_21979338_19980\Main.java:30: 错误: 需要class, interface或enum
printf("Case #%d: %d\n", t, (a[cwt]-1+m)%m);
^
0_0_21979338_19980\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_21979338_19980\Main.java:33: 错误: 需要class, interface或enum
}
^
24 个错误
|