0_0_13954979_3554\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13954979_3554\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_13954979_3554\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_13954979_3554\Main.java:3: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_13954979_3554\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13954979_3554\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_13954979_3554\Main.java:6: 错误: 非法字符: '#'
#include <queue>
^
0_0_13954979_3554\Main.java:7: 错误: 非法字符: '#'
#include <vector>
^
0_0_13954979_3554\Main.java:8: 错误: 非法字符: '#'
#define LL long long
^
0_0_13954979_3554\Main.java:12: 错误: 需要class, interface或enum
const int INF = 1000000000;
^
0_0_13954979_3554\Main.java:13: 错误: 需要class, interface或enum
const int N = 51;
^
0_0_13954979_3554\Main.java:15: 错误: 需要class, interface或enum
struct node
^
0_0_13954979_3554\Main.java:18: 错误: 需要class, interface或enum
bool operator<(const node& tt) const
^
0_0_13954979_3554\Main.java:21: 错误: 需要class, interface或enum
return g < tt.g;
^
0_0_13954979_3554\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:25: 错误: 需要class, interface或enum
int n,m,tot,min1;
^
0_0_13954979_3554\Main.java:26: 错误: 需要class, interface或enum
int t[N],g[N],vst[N],num[N];
^
0_0_13954979_3554\Main.java:27: 错误: 需要class, interface或enum
int adj[N][N];
^
0_0_13954979_3554\Main.java:28: 错误: 需要class, interface或enum
int d[N][N];
^
0_0_13954979_3554\Main.java:29: 错误: 需要class, interface或enum
priority_queue<node> q1,q2;
^
0_0_13954979_3554\Main.java:31: 错误: 需要class, interface或enum
void dfs(int i)
^
0_0_13954979_3554\Main.java:33: 错误: 需要class, interface或enum
for(int j = 1; j <= n; j++)
^
0_0_13954979_3554\Main.java:33: 错误: 需要class, interface或enum
for(int j = 1; j <= n; j++)
^
0_0_13954979_3554\Main.java:36: 错误: 需要class, interface或enum
if(adj[i][j])
^
0_0_13954979_3554\Main.java:39: 错误: 需要class, interface或enum
d[tot][num[tot]++] = j;
^
0_0_13954979_3554\Main.java:40: 错误: 需要class, interface或enum
dfs(j);
^
0_0_13954979_3554\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:48: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:48: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:48: 错误: 需要class, interface或enum
for(int i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:53: 错误: 需要class, interface或enum
d[tot][num[tot]++] = i;
^
0_0_13954979_3554\Main.java:54: 错误: 需要class, interface或enum
dfs(i);
^
0_0_13954979_3554\Main.java:55: 错误: 需要class, interface或enum
tot++;
^
0_0_13954979_3554\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:63: 错误: 需要class, interface或enum
min1 = INF;
^
0_0_13954979_3554\Main.java:64: 错误: 需要class, interface或enum
for(i = 0; i < tot; i++)
^
0_0_13954979_3554\Main.java:64: 错误: 需要class, interface或enum
for(i = 0; i < tot; i++)
^
0_0_13954979_3554\Main.java:64: 错误: 需要class, interface或enum
for(i = 0; i < tot; i++)
^
0_0_13954979_3554\Main.java:67: 错误: 需要class, interface或enum
while(!q2.empty()) q2.pop();
^
0_0_13954979_3554\Main.java:68: 错误: 需要class, interface或enum
now.t = now.g = 0;
^
0_0_13954979_3554\Main.java:69: 错误: 需要class, interface或enum
q1.push(now);
^
0_0_13954979_3554\Main.java:70: 错误: 需要class, interface或enum
for(j = 0; j < num[i]; j++)
^
0_0_13954979_3554\Main.java:70: 错误: 需要class, interface或enum
for(j = 0; j < num[i]; j++)
^
0_0_13954979_3554\Main.java:70: 错误: 需要class, interface或enum
for(j = 0; j < num[i]; j++)
^
0_0_13954979_3554\Main.java:75: 错误: 需要class, interface或enum
q1.pop();
^
0_0_13954979_3554\Main.java:76: 错误: 需要class, interface或enum
q2.push(now);
^
0_0_13954979_3554\Main.java:77: 错误: 需要class, interface或enum
next.t = now.t+s[d[i][j]].t;
^
0_0_13954979_3554\Main.java:78: 错误: 需要class, interface或enum
next.g = now.g+s[d[i][j]].g;
^
0_0_13954979_3554\Main.java:79: 错误: 需要class, interface或enum
if(next.g >= m) {min1 = min(min1, next.t); continue;}
^
0_0_13954979_3554\Main.java:79: 错误: 需要class, interface或enum
if(next.g >= m) {min1 = min(min1, next.t); continue;}
^
0_0_13954979_3554\Main.java:79: 错误: 需要class, interface或enum
if(next.g >= m) {min1 = min(min1, next.t); continue;}
^
0_0_13954979_3554\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:83: 错误: 需要class, interface或enum
while(!q2.empty())
^
0_0_13954979_3554\Main.java:86: 错误: 需要class, interface或enum
q2.pop();
^
0_0_13954979_3554\Main.java:87: 错误: 需要class, interface或enum
if(tem >= now.t)
^
0_0_13954979_3554\Main.java:90: 错误: 需要class, interface或enum
tem = now.t;
^
0_0_13954979_3554\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:100: 错误: 需要class, interface或enum
int i,j,k;
^
0_0_13954979_3554\Main.java:101: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_13954979_3554\Main.java:102: 错误: 需要class, interface或enum
for(int cc = 1; cc <= T; cc++)
^
0_0_13954979_3554\Main.java:102: 错误: 需要class, interface或enum
for(int cc = 1; cc <= T; cc++)
^
0_0_13954979_3554\Main.java:102: 错误: 需要class, interface或enum
for(int cc = 1; cc <= T; cc++)
^
0_0_13954979_3554\Main.java:105: 错误: 需要class, interface或enum
memset(adj, 0, sizeof(adj));
^
0_0_13954979_3554\Main.java:106: 错误: 需要class, interface或enum
memset(num, 0, sizeof(num));
^
0_0_13954979_3554\Main.java:107: 错误: 需要class, interface或enum
memset(vst, 0, sizeof(vst));
^
0_0_13954979_3554\Main.java:108: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:108: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:108: 错误: 需要class, interface或enum
for(i = 1; i <= n; i++)
^
0_0_13954979_3554\Main.java:111: 错误: 需要class, interface或enum
for(j = 0; j < k; j++)
^
0_0_13954979_3554\Main.java:111: 错误: 需要class, interface或enum
for(j = 0; j < k; j++)
^
0_0_13954979_3554\Main.java:111: 错误: 需要class, interface或enum
for(j = 0; j < k; j++)
^
0_0_13954979_3554\Main.java:114: 错误: 需要class, interface或enum
scanf("%d", &aa);
^
0_0_13954979_3554\Main.java:115: 错误: 需要class, interface或enum
adj[i][aa] = adj[aa][i] = 1;
^
0_0_13954979_3554\Main.java:116: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:119: 错误: 需要class, interface或enum
init();
^
0_0_13954979_3554\Main.java:120: 错误: 需要class, interface或enum
solve();
^
0_0_13954979_3554\Main.java:121: 错误: 需要class, interface或enum
if(min1 == INF) puts("Poor Magina, you can't save the world all the time!");
^
0_0_13954979_3554\Main.java:122: 错误: 需要class, interface或enum
else printf("%d\n", min1);
^
0_0_13954979_3554\Main.java:123: 错误: 需要class, interface或enum
}
^
0_0_13954979_3554\Main.java:125: 错误: 需要class, interface或enum
}
^
80 个错误
|