0_0_17674085_14701\Main.java:1: 错误: 非法字符: '#'
#include <cstring>
^
0_0_17674085_14701\Main.java:1: 错误: 需要class, interface或enum
#include <cstring>
^
0_0_17674085_14701\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17674085_14701\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_17674085_14701\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_17674085_14701\Main.java:5: 错误: 非法字符: '#'
#include <cmath>
^
0_0_17674085_14701\Main.java:6: 错误: 非法字符: '#'
#include <vector>
^
0_0_17674085_14701\Main.java:7: 错误: 非法字符: '#'
#include <queue>
^
0_0_17674085_14701\Main.java:8: 错误: 非法字符: '#'
#include <stack>
^
0_0_17674085_14701\Main.java:9: 错误: 非法字符: '#'
#include <map>
^
0_0_17674085_14701\Main.java:10: 错误: 非法字符: '#'
#include <math.h>
^
0_0_17674085_14701\Main.java:11: 错误: 非法字符: '#'
#include <set>
^
0_0_17674085_14701\Main.java:13: 错误: 需要class, interface或enum
const int Mod=1e9+7;
^
0_0_17674085_14701\Main.java:14: 错误: 需要class, interface或enum
int head[1<<17],edge[1<<18],Next[1<<17],tot;
^
0_0_17674085_14701\Main.java:15: 错误: 需要class, interface或enum
void Insert(int u,int v)
^
0_0_17674085_14701\Main.java:18: 错误: 需要class, interface或enum
Next[tot]=head[u];
^
0_0_17674085_14701\Main.java:19: 错误: 需要class, interface或enum
head[u]=tot++;
^
0_0_17674085_14701\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_17674085_14701\Main.java:22: 错误: 需要class, interface或enum
long long ans;
^
0_0_17674085_14701\Main.java:23: 错误: 需要class, interface或enum
void dfs(int u,int f,int fg,long long sum)
^
0_0_17674085_14701\Main.java:26: 错误: 需要class, interface或enum
ans+=u*(sum+a[u]);
^
0_0_17674085_14701\Main.java:27: 错误: 需要class, interface或enum
ans%=Mod;
^
0_0_17674085_14701\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u]; ~i; i=Next[i])
^
0_0_17674085_14701\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u]; ~i; i=Next[i])
^
0_0_17674085_14701\Main.java:28: 错误: 需要class, interface或enum
for(int i=head[u]; ~i; i=Next[i])
^
0_0_17674085_14701\Main.java:31: 错误: 需要class, interface或enum
if(fg==1)
^
0_0_17674085_14701\Main.java:33: 错误: 需要class, interface或enum
if(fg==2)
^
0_0_17674085_14701\Main.java:35: 错误: 需要class, interface或enum
if(fg==3)
^
0_0_17674085_14701\Main.java:37: 错误: 需要class, interface或enum
if(v!=f)
^
0_0_17674085_14701\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_17674085_14701\Main.java:44: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_17674085_14701\Main.java:45: 错误: 需要class, interface或enum
while(t--)
^
0_0_17674085_14701\Main.java:48: 错误: 需要class, interface或enum
memset(head,-1,sizeof(head));
^
0_0_17674085_14701\Main.java:49: 错误: 需要class, interface或enum
ans=0;
^
0_0_17674085_14701\Main.java:50: 错误: 需要class, interface或enum
int n;
^
0_0_17674085_14701\Main.java:51: 错误: 需要class, interface或enum
char op[5];
^
0_0_17674085_14701\Main.java:52: 错误: 需要class, interface或enum
scanf("%d%s",&n,op);
^
0_0_17674085_14701\Main.java:53: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_17674085_14701\Main.java:53: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_17674085_14701\Main.java:53: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_17674085_14701\Main.java:55: 错误: 需要class, interface或enum
for(int j=2; j<=n; ++j)
^
0_0_17674085_14701\Main.java:55: 错误: 需要class, interface或enum
for(int j=2; j<=n; ++j)
^
0_0_17674085_14701\Main.java:55: 错误: 需要class, interface或enum
for(int j=2; j<=n; ++j)
^
0_0_17674085_14701\Main.java:58: 错误: 需要class, interface或enum
scanf("%d",&v);
^
0_0_17674085_14701\Main.java:59: 错误: 需要class, interface或enum
Insert(v,j);
^
0_0_17674085_14701\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_17674085_14701\Main.java:62: 错误: 需要class, interface或enum
if(op[0]=='A')
^
0_0_17674085_14701\Main.java:64: 错误: 需要class, interface或enum
if(op[0]=='X')
^
0_0_17674085_14701\Main.java:66: 错误: 需要class, interface或enum
if(op[0]=='O')
^
0_0_17674085_14701\Main.java:68: 错误: 需要class, interface或enum
dfs(1,0,fg,0);
^
0_0_17674085_14701\Main.java:69: 错误: 需要class, interface或enum
printf("%lld\n",ans%Mod);
^
0_0_17674085_14701\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_17674085_14701\Main.java:72: 错误: 需要class, interface或enum
}
^
53 个错误
|