0_0_17337385_11842\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17337385_11842\Main.java:4: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_17337385_11842\Main.java:8: 错误: 需要class, interface或enum
long long quick(int a, int b)
^
0_0_17337385_11842\Main.java:11: 错误: 需要class, interface或enum
long long ret = quick(a, b / 2);
^
0_0_17337385_11842\Main.java:12: 错误: 需要class, interface或enum
ret = (ret * ret) % k;
^
0_0_17337385_11842\Main.java:13: 错误: 需要class, interface或enum
if (b & 1) ret = (ret * a) % k;
^
0_0_17337385_11842\Main.java:14: 错误: 需要class, interface或enum
return ret;
^
0_0_17337385_11842\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_17337385_11842\Main.java:20: 错误: 需要class, interface或enum
if (len == 2) return 11 % k;
^
0_0_17337385_11842\Main.java:21: 错误: 需要class, interface或enum
long long ret = 0;
^
0_0_17337385_11842\Main.java:22: 错误: 需要class, interface或enum
if (len & 1) ret = quick(a, len - 1);
^
0_0_17337385_11842\Main.java:23: 错误: 需要class, interface或enum
long long t1 = calc(len / 2, a);
^
0_0_17337385_11842\Main.java:24: 错误: 需要class, interface或enum
long long t2 = quick(a, len / 2);
^
0_0_17337385_11842\Main.java:25: 错误: 需要class, interface或enum
return (ret + t1 * (1 + t2)) % k;
^
0_0_17337385_11842\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_17337385_11842\Main.java:31: 错误: 需要class, interface或enum
int T; std::cin >> T;
^
0_0_17337385_11842\Main.java:31: 错误: 需要class, interface或enum
int T; std::cin >> T;
^
0_0_17337385_11842\Main.java:32: 错误: 需要class, interface或enum
for (int ti = 1; ti <= T; ti++) {
^
0_0_17337385_11842\Main.java:32: 错误: 需要class, interface或enum
for (int ti = 1; ti <= T; ti++) {
^
0_0_17337385_11842\Main.java:32: 错误: 需要class, interface或enum
for (int ti = 1; ti <= T; ti++) {
^
0_0_17337385_11842\Main.java:34: 错误: 需要class, interface或enum
std::cin >> x >> m >> k >> c;
^
0_0_17337385_11842\Main.java:35: 错误: 需要class, interface或enum
long long ans = calc(m, 10);
^
0_0_17337385_11842\Main.java:36: 错误: 需要class, interface或enum
ans = (ans * x) % k;
^
0_0_17337385_11842\Main.java:37: 错误: 需要class, interface或enum
std::cout << ((ans == c) ? "Yes" : "No") << '\n';
^
0_0_17337385_11842\Main.java:38: 错误: 需要class, interface或enum
}
^
25 个错误
|