0_0_13954986_11417\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_13954986_11417\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_13954986_11417\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_13954986_11417\Main.java:3: 错误: 非法字符: '#'
#include <queue>
^
0_0_13954986_11417\Main.java:4: 错误: 非法字符: '#'
#include <string.h>
^
0_0_13954986_11417\Main.java:6: 错误: 非法字符: '#'
#define MIN 52
^
0_0_13954986_11417\Main.java:6: 错误: 需要class, interface或enum
#define MIN 52
^
0_0_13954986_11417\Main.java:7: 错误: 非法字符: '#'
#define INF 1000000000
^
0_0_13954986_11417\Main.java:8: 错误: 非法字符: '#'
#define int64 __int64
^
0_0_13954986_11417\Main.java:14: 错误: 需要class, interface或enum
friend int operator < (node a,node b) {
^
0_0_13954986_11417\Main.java:18: 错误: 需要class, interface或enum
else
^
0_0_13954986_11417\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:22: 错误: 需要class, interface或enum
priority_queue<node> qu1,qu2;
^
0_0_13954986_11417\Main.java:23: 错误: 需要class, interface或enum
int n,m,maze[MIN][MIN],vis[MIN];
^
0_0_13954986_11417\Main.java:24: 错误: 需要class, interface或enum
int gtot,num[MIN],group[MIN][MIN];
^
0_0_13954986_11417\Main.java:27: 错误: 需要class, interface或enum
void Dfs(int i) {
^
0_0_13954986_11417\Main.java:30: 错误: 需要class, interface或enum
int j = ++num[gtot];
^
0_0_13954986_11417\Main.java:31: 错误: 需要class, interface或enum
group[gtot][j] = i;
^
0_0_13954986_11417\Main.java:32: 错误: 需要class, interface或enum
for (int k = 1; k <= n; ++k)
^
0_0_13954986_11417\Main.java:32: 错误: 需要class, interface或enum
for (int k = 1; k <= n; ++k)
^
0_0_13954986_11417\Main.java:32: 错误: 需要class, interface或enum
for (int k = 1; k <= n; ++k)
^
0_0_13954986_11417\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:38: 错误: 需要class, interface或enum
for (gtot = i = 1; i <= n; ++i)
^
0_0_13954986_11417\Main.java:38: 错误: 需要class, interface或enum
for (gtot = i = 1; i <= n; ++i)
^
0_0_13954986_11417\Main.java:38: 错误: 需要class, interface或enum
for (gtot = i = 1; i <= n; ++i)
^
0_0_13954986_11417\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:44: 错误: 需要class, interface或enum
int64 minn,tpk,tpval;
^
0_0_13954986_11417\Main.java:45: 错误: 需要class, interface或enum
minn = INF; //时间最多为1000万 * 50 == 5亿,用10亿够大了
^
0_0_13954986_11417\Main.java:48: 错误: 需要class, interface或enum
for (i = 1; i < gtot; ++i) {
^
0_0_13954986_11417\Main.java:48: 错误: 需要class, interface或enum
for (i = 1; i < gtot; ++i) {
^
0_0_13954986_11417\Main.java:48: 错误: 需要class, interface或enum
for (i = 1; i < gtot; ++i) {
^
0_0_13954986_11417\Main.java:51: 错误: 需要class, interface或enum
while (!qu2.empty()) qu2.pop();
^
0_0_13954986_11417\Main.java:52: 错误: 需要class, interface或enum
now.t = now.val = 0;
^
0_0_13954986_11417\Main.java:53: 错误: 需要class, interface或enum
qu1.push(now);
^
0_0_13954986_11417\Main.java:56: 错误: 需要class, interface或enum
for (j = 1; j <= num[i]; ++j) {
^
0_0_13954986_11417\Main.java:56: 错误: 需要class, interface或enum
for (j = 1; j <= num[i]; ++j) {
^
0_0_13954986_11417\Main.java:56: 错误: 需要class, interface或enum
for (j = 1; j <= num[i]; ++j) {
^
0_0_13954986_11417\Main.java:59: 错误: 需要class, interface或enum
while (!qu1.empty()) {
^
0_0_13954986_11417\Main.java:62: 错误: 需要class, interface或enum
qu1.pop(),qu2.push(now);
^
0_0_13954986_11417\Main.java:63: 错误: 需要class, interface或enum
next.t = now.t + arr[k].t;
^
0_0_13954986_11417\Main.java:64: 错误: 需要class, interface或enum
next.val = now.val + arr[k].val;
^
0_0_13954986_11417\Main.java:67: 错误: 需要class, interface或enum
if (next.val >= m) {
^
0_0_13954986_11417\Main.java:70: 错误: 需要class, interface或enum
continue;
^
0_0_13954986_11417\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:73: 错误: 需要class, interface或enum
qu2.push(next);
^
0_0_13954986_11417\Main.java:74: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:78: 错误: 需要class, interface或enum
while (!qu2.empty()) {
^
0_0_13954986_11417\Main.java:81: 错误: 需要class, interface或enum
if (tpk >= now.t) qu1.push(now),tpk = now.t;//前面的val大时间也要大,如果后面出队的时间更多,那就要剪掉
^
0_0_13954986_11417\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:92: 错误: 需要class, interface或enum
int u,v,k;
^
0_0_13954986_11417\Main.java:95: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_13954986_11417\Main.java:96: 错误: 需要class, interface或enum
while (t--) {
^
0_0_13954986_11417\Main.java:99: 错误: 需要class, interface或enum
memset(maze,0,sizeof(maze));
^
0_0_13954986_11417\Main.java:100: 错误: 需要class, interface或enum
memset(vis,0,sizeof(vis));
^
0_0_13954986_11417\Main.java:101: 错误: 需要class, interface或enum
memset(num,0,sizeof(num));
^
0_0_13954986_11417\Main.java:102: 错误: 需要class, interface或enum
for (i = 1; i <= n; ++i) {
^
0_0_13954986_11417\Main.java:102: 错误: 需要class, interface或enum
for (i = 1; i <= n; ++i) {
^
0_0_13954986_11417\Main.java:102: 错误: 需要class, interface或enum
for (i = 1; i <= n; ++i) {
^
0_0_13954986_11417\Main.java:105: 错误: 需要class, interface或enum
while (k--) {
^
0_0_13954986_11417\Main.java:108: 错误: 需要class, interface或enum
maze[i][u] = 1;
^
0_0_13954986_11417\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_13954986_11417\Main.java:114: 错误: 需要class, interface或enum
int64 ans = Solve_1A();
^
0_0_13954986_11417\Main.java:115: 错误: 需要class, interface或enum
if (ans != -1) printf("Case %d: %I64d\n",++cas,ans);
^
0_0_13954986_11417\Main.java:116: 错误: 需要class, interface或enum
else printf("Case %d: Poor Magina, you can't save the world all the time!\n",++cas);
^
0_0_13954986_11417\Main.java:117: 错误: 需要class, interface或enum
}
^
66 个错误
|