0_0_23272054_13338\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_23272054_13338\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_23272054_13338\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_23272054_13338\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_23272054_13338\Main.java:4: 错误: 非法字符: '#'
#include <cassert>
^
0_0_23272054_13338\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_23272054_13338\Main.java:6: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_23272054_13338\Main.java:7: 错误: 非法字符: '#'
#include <functional>
^
0_0_23272054_13338\Main.java:8: 错误: 非法字符: '#'
#include <limits>
^
0_0_23272054_13338\Main.java:9: 错误: 非法字符: '#'
#include <vector>
^
0_0_23272054_13338\Main.java:10: 错误: 非法字符: '#'
#include <list>
^
0_0_23272054_13338\Main.java:11: 错误: 非法字符: '#'
#include <string>
^
0_0_23272054_13338\Main.java:12: 错误: 非法字符: '#'
#include <queue>
^
0_0_23272054_13338\Main.java:13: 错误: 非法字符: '#'
#include <stack>
^
0_0_23272054_13338\Main.java:14: 错误: 非法字符: '#'
#include <map>
^
0_0_23272054_13338\Main.java:15: 错误: 非法字符: '#'
#include <set>
^
0_0_23272054_13338\Main.java:16: 错误: 非法字符: '#'
#include <complex>
^
0_0_23272054_13338\Main.java:18: 错误: 非法字符: '#'
#define zeros(a,n) memset(a,0,(n)*sizeof(a[0]))
^
0_0_23272054_13338\Main.java:18: 错误: 需要class, interface或enum
#define zeros(a,n) memset(a,0,(n)*sizeof(a[0]))
^
0_0_23272054_13338\Main.java:20: 错误: 需要class, interface或enum
typedef unsigned long long ULL;
^
0_0_23272054_13338\Main.java:21: 错误: 需要class, interface或enum
const LL modn = 1e9+7;
^
0_0_23272054_13338\Main.java:22: 错误: 需要class, interface或enum
const int maxn = 1e5+9;
^
0_0_23272054_13338\Main.java:23: 错误: 需要class, interface或enum
int val[maxn], cnt[maxn];
^
0_0_23272054_13338\Main.java:24: 错误: 需要class, interface或enum
int pre[maxn];
^
0_0_23272054_13338\Main.java:26: 错误: 需要class, interface或enum
int main()
^
0_0_23272054_13338\Main.java:29: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_23272054_13338\Main.java:30: 错误: 需要class, interface或enum
for(int cas=1; cas<=T; cas++) {
^
0_0_23272054_13338\Main.java:30: 错误: 需要class, interface或enum
for(int cas=1; cas<=T; cas++) {
^
0_0_23272054_13338\Main.java:30: 错误: 需要class, interface或enum
for(int cas=1; cas<=T; cas++) {
^
0_0_23272054_13338\Main.java:32: 错误: 需要class, interface或enum
scanf("%d %d", &s, &n);
^
0_0_23272054_13338\Main.java:33: 错误: 需要class, interface或enum
for(int i=0; i<n; i++)
^
0_0_23272054_13338\Main.java:33: 错误: 需要class, interface或enum
for(int i=0; i<n; i++)
^
0_0_23272054_13338\Main.java:33: 错误: 需要class, interface或enum
for(int i=0; i<n; i++)
^
0_0_23272054_13338\Main.java:35: 错误: 需要class, interface或enum
zeros(cnt, s+1);
^
0_0_23272054_13338\Main.java:36: 错误: 需要class, interface或enum
memset(pre, -1, (s+1)*sizeof(pre[0]));
^
0_0_23272054_13338\Main.java:37: 错误: 需要class, interface或enum
bool flag = false;
^
0_0_23272054_13338\Main.java:38: 错误: 需要class, interface或enum
for(int i=0; i<n; i++) {
^
0_0_23272054_13338\Main.java:38: 错误: 需要class, interface或enum
for(int i=0; i<n; i++) {
^
0_0_23272054_13338\Main.java:38: 错误: 需要class, interface或enum
for(int i=0; i<n; i++) {
^
0_0_23272054_13338\Main.java:40: 错误: 需要class, interface或enum
pre[val[i]] = i;
^
0_0_23272054_13338\Main.java:41: 错误: 需要class, interface或enum
if(p == -1) continue;
^
0_0_23272054_13338\Main.java:42: 错误: 需要class, interface或enum
if(i-p>=2*s) {
^
0_0_23272054_13338\Main.java:44: 错误: 需要class, interface或enum
break;
^
0_0_23272054_13338\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_23272054_13338\Main.java:47: 错误: 需要class, interface或enum
p %= s; q %= s;
^
0_0_23272054_13338\Main.java:47: 错误: 需要class, interface或enum
p %= s; q %= s;
^
0_0_23272054_13338\Main.java:48: 错误: 需要class, interface或enum
if(q<p) {
^
0_0_23272054_13338\Main.java:49: 错误: 需要class, interface或enum
cnt[0]++; cnt[q]--;
^
0_0_23272054_13338\Main.java:50: 错误: 需要class, interface或enum
cnt[p]++; cnt[s]--;
^
0_0_23272054_13338\Main.java:50: 错误: 需要class, interface或enum
cnt[p]++; cnt[s]--;
^
0_0_23272054_13338\Main.java:51: 错误: 需要class, interface或enum
} else {
^
0_0_23272054_13338\Main.java:52: 错误: 需要class, interface或enum
cnt[p]++; cnt[q]--;
^
0_0_23272054_13338\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_23272054_13338\Main.java:55: 错误: 需要class, interface或enum
for(int i=1; i<=s; i++)
^
0_0_23272054_13338\Main.java:55: 错误: 需要class, interface或enum
for(int i=1; i<=s; i++)
^
0_0_23272054_13338\Main.java:57: 错误: 需要class, interface或enum
int ans = 0;
^
0_0_23272054_13338\Main.java:58: 错误: 需要class, interface或enum
for(int i=0; i<s; i++)
^
0_0_23272054_13338\Main.java:58: 错误: 需要class, interface或enum
for(int i=0; i<s; i++)
^
0_0_23272054_13338\Main.java:58: 错误: 需要class, interface或enum
for(int i=0; i<s; i++)
^
0_0_23272054_13338\Main.java:60: 错误: 需要class, interface或enum
if(flag) puts("0");
^
0_0_23272054_13338\Main.java:61: 错误: 需要class, interface或enum
else printf("%d\n", ans);
^
0_0_23272054_13338\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_23272054_13338\Main.java:64: 错误: 需要class, interface或enum
}
^
63 个错误
|