0_0_22231937_30000\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_22231937_30000\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_22231937_30000\Main.java:3: 错误: 需要class, interface或enum
typedef long long int ll;
^
0_0_22231937_30000\Main.java:5: 错误: 需要class, interface或enum
const int MAXN=1005;
^
0_0_22231937_30000\Main.java:6: 错误: 需要class, interface或enum
const int INF=1e9+7;
^
0_0_22231937_30000\Main.java:7: 错误: 需要class, interface或enum
struct Node{
^
0_0_22231937_30000\Main.java:9: 错误: 需要class, interface或enum
}node[MAXN];
^
0_0_22231937_30000\Main.java:11: 错误: 需要class, interface或enum
struct edge{
^
0_0_22231937_30000\Main.java:13: 错误: 需要class, interface或enum
}es[MAXN*MAXN];
^
0_0_22231937_30000\Main.java:14: 错误: 需要class, interface或enum
int head[MAXN];
^
0_0_22231937_30000\Main.java:15: 错误: 需要class, interface或enum
int cnt=0;
^
0_0_22231937_30000\Main.java:17: 错误: 需要class, interface或enum
void init(){
^
0_0_22231937_30000\Main.java:19: 错误: 需要class, interface或enum
cnt=0;
^
0_0_22231937_30000\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:24: 错误: 需要class, interface或enum
es[cnt].next=head[u];
^
0_0_22231937_30000\Main.java:25: 错误: 需要class, interface或enum
head[u]=cnt++;
^
0_0_22231937_30000\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:29: 错误: 需要class, interface或enum
ll xx=node[i].x-node[j].x;xx*=xx;
^
0_0_22231937_30000\Main.java:30: 错误: 需要class, interface或enum
ll yy=node[i].y-node[j].y;yy*=yy;
^
0_0_22231937_30000\Main.java:30: 错误: 需要class, interface或enum
ll yy=node[i].y-node[j].y;yy*=yy;
^
0_0_22231937_30000\Main.java:31: 错误: 需要class, interface或enum
ll rr=node[i].r;rr*=rr;
^
0_0_22231937_30000\Main.java:31: 错误: 需要class, interface或enum
ll rr=node[i].r;rr*=rr;
^
0_0_22231937_30000\Main.java:32: 错误: 需要class, interface或enum
if(xx+yy<=rr)
^
0_0_22231937_30000\Main.java:34: 错误: 需要class, interface或enum
rr=node[j].r;rr*=rr;
^
0_0_22231937_30000\Main.java:34: 错误: 需要class, interface或enum
rr=node[j].r;rr*=rr;
^
0_0_22231937_30000\Main.java:35: 错误: 需要class, interface或enum
if(xx+yy<=rr)
^
0_0_22231937_30000\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:40: 错误: 需要class, interface或enum
int mincost[MAXN];
^
0_0_22231937_30000\Main.java:41: 错误: 需要class, interface或enum
stack<int> S;
^
0_0_22231937_30000\Main.java:43: 错误: 需要class, interface或enum
void dfs(int u){
^
0_0_22231937_30000\Main.java:45: 错误: 需要class, interface或enum
S.push(u);
^
0_0_22231937_30000\Main.java:46: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=es[i].next){
^
0_0_22231937_30000\Main.java:46: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=es[i].next){
^
0_0_22231937_30000\Main.java:46: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=es[i].next){
^
0_0_22231937_30000\Main.java:48: 错误: 需要class, interface或enum
if(!pre[v]){
^
0_0_22231937_30000\Main.java:50: 错误: 需要class, interface或enum
lowlink[u]=min(lowlink[u],lowlink[v]);
^
0_0_22231937_30000\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:57: 错误: 需要class, interface或enum
mincost[scc_cnt]=INF;
^
0_0_22231937_30000\Main.java:58: 错误: 需要class, interface或enum
while(1){
^
0_0_22231937_30000\Main.java:59: 错误: 需要class, interface或enum
int x=S.top();S.pop();
^
0_0_22231937_30000\Main.java:60: 错误: 需要class, interface或enum
belong[x]=scc_cnt;
^
0_0_22231937_30000\Main.java:61: 错误: 需要class, interface或enum
mincost[scc_cnt]=min(mincost[scc_cnt],node[x].c);
^
0_0_22231937_30000\Main.java:62: 错误: 需要class, interface或enum
if(x==u)
^
0_0_22231937_30000\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:70: 错误: 需要class, interface或enum
while(S.size())
^
0_0_22231937_30000\Main.java:72: 错误: 需要class, interface或enum
memset(belong,0,sizeof(belong));
^
0_0_22231937_30000\Main.java:73: 错误: 需要class, interface或enum
memset(pre,0,sizeof(pre));
^
0_0_22231937_30000\Main.java:74: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:74: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:74: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:81: 错误: 需要class, interface或enum
int in[MAXN];
^
0_0_22231937_30000\Main.java:83: 错误: 需要class, interface或enum
int solve(int n){
^
0_0_22231937_30000\Main.java:85: 错误: 需要class, interface或enum
memset(in,0,sizeof(in));
^
0_0_22231937_30000\Main.java:86: 错误: 需要class, interface或enum
for(int u=1;u<=n;u++){
^
0_0_22231937_30000\Main.java:86: 错误: 需要class, interface或enum
for(int u=1;u<=n;u++){
^
0_0_22231937_30000\Main.java:86: 错误: 需要class, interface或enum
for(int u=1;u<=n;u++){
^
0_0_22231937_30000\Main.java:87: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=es[i].next){
^
0_0_22231937_30000\Main.java:87: 错误: 需要class, interface或enum
for(int i=head[u];i!=-1;i=es[i].next){
^
0_0_22231937_30000\Main.java:89: 错误: 需要class, interface或enum
int uu=belong[u];
^
0_0_22231937_30000\Main.java:90: 错误: 需要class, interface或enum
int vv=belong[v];
^
0_0_22231937_30000\Main.java:91: 错误: 需要class, interface或enum
if(uu!=vv&&!vis[uu][vv]){
^
0_0_22231937_30000\Main.java:93: 错误: 需要class, interface或enum
in[vv]++;
^
0_0_22231937_30000\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=scc_cnt;i++){
^
0_0_22231937_30000\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=scc_cnt;i++){
^
0_0_22231937_30000\Main.java:98: 错误: 需要class, interface或enum
for(int i=1;i<=scc_cnt;i++){
^
0_0_22231937_30000\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:108: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_22231937_30000\Main.java:109: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_22231937_30000\Main.java:109: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_22231937_30000\Main.java:109: 错误: 需要class, interface或enum
for(int cas=1;cas<=t;cas++){
^
0_0_22231937_30000\Main.java:111: 错误: 需要class, interface或enum
scanf("%d",&n);
^
0_0_22231937_30000\Main.java:112: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_22231937_30000\Main.java:112: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_22231937_30000\Main.java:112: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_22231937_30000\Main.java:114: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:114: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:114: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22231937_30000\Main.java:115: 错误: 需要class, interface或enum
for(int j=1;j<i;j++){
^
0_0_22231937_30000\Main.java:115: 错误: 需要class, interface或enum
for(int j=1;j<i;j++){
^
0_0_22231937_30000\Main.java:117: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:120: 错误: 需要class, interface或enum
printf("Case #%d: %d\n",cas,solve(n));
^
0_0_22231937_30000\Main.java:121: 错误: 需要class, interface或enum
}
^
0_0_22231937_30000\Main.java:123: 错误: 需要class, interface或enum
}
^
87 个错误
|