0_0_39714531_18051\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39714531_18051\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39714531_18051\Main.java:2: 错误: 非法字符: '#'
#include <string>
^
0_0_39714531_18051\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_39714531_18051\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_39714531_18051\Main.java:5: 错误: 非法字符: '#'
#include <stack>
^
0_0_39714531_18051\Main.java:6: 错误: 非法字符: '#'
#include <cmath>
^
0_0_39714531_18051\Main.java:7: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39714531_18051\Main.java:8: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_39714531_18051\Main.java:11: 错误: 需要class, interface或enum
const int maxn = 20 + 2 ;
^
0_0_39714531_18051\Main.java:12: 错误: 需要class, interface或enum
long long f[maxn];
^
0_0_39714531_18051\Main.java:13: 错误: 需要class, interface或enum
long long ans[maxn];
^
0_0_39714531_18051\Main.java:15: 错误: 需要class, interface或enum
int main()
^
0_0_39714531_18051\Main.java:18: 错误: 需要class, interface或enum
memset(f , 0 , sizeof(f));
^
0_0_39714531_18051\Main.java:19: 错误: 需要class, interface或enum
while(scanf("%d", &k )!= EOF && k)
^
0_0_39714531_18051\Main.java:24: 错误: 需要class, interface或enum
continue;
^
0_0_39714531_18051\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_39714531_18051\Main.java:27: 错误: 需要class, interface或enum
int n = 2 * k;
^
0_0_39714531_18051\Main.java:28: 错误: 需要class, interface或enum
保证k轮不去掉好人
^
0_0_39714531_18051\Main.java:29: 错误: 需要class, interface或enum
for(int i = 1 ; i <= k ;i ++ )
^
0_0_39714531_18051\Main.java:29: 错误: 需要class, interface或enum
for(int i = 1 ; i <= k ;i ++ )
^
0_0_39714531_18051\Main.java:32: 错误: 需要class, interface或enum
if(ans[i] < k) //如果去掉了好人
^
0_0_39714531_18051\Main.java:35: 错误: 需要class, interface或enum
m++;//间隔加1
^
0_0_39714531_18051\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_39714531_18051\Main.java:39: 错误: 需要class, interface或enum
cout << f[k] << endl;
^
0_0_39714531_18051\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_39714531_18051\Main.java:42: 错误: 需要class, interface或enum
}
^
27 个错误
|