0_0_13801830_27167.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13801830_27167.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13801830_27167.cpp:7:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13801830_27167.cpp:10:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13801830_27167.cpp:2:1: error: expected unqualified-id before '<' token
<cstdio>
^
0_0_13801830_27167.cpp:19:1: error: expected unqualified-id before numeric constant
5050
^
0_0_13801830_27167.cpp:24:30: error: 'e' does not name a type
struct edge{int y,next;LL w;}e[M <<
^
0_0_13801830_27167.cpp:27:10: error: storage size of 'can' isn't known
int can[M],dis[M],first[N],b[70],hei[70],vis[N];
^
0_0_13801830_27167.cpp:27:17: error: storage size of 'dis' isn't known
int can[M],dis[M],first[N],b[70],hei[70],vis[N];
^
0_0_13801830_27167.cpp:27:26: error: storage size of 'first' isn't known
int can[M],dis[M],first[N],b[70],hei[70],vis[N];
^
0_0_13801830_27167.cpp:27:47: error: storage size of 'vis' isn't known
int can[M],dis[M],first[N],b[70],hei[70],vis[N];
^
0_0_13801830_27167.cpp:31:9: error: storage size of 'sum' isn't known
LL sum[N],ans[M],a[70],tmp[M];
^
0_0_13801830_27167.cpp:31:16: error: storage size of 'ans' isn't known
LL sum[N],ans[M],a[70],tmp[M];
^
0_0_13801830_27167.cpp:31:29: error: storage size of 'tmp' isn't known
LL sum[N],ans[M],a[70],tmp[M];
^
0_0_13801830_27167.cpp:33:1: error: 'set' does not name a type
set <LL> S;
^
0_0_13801830_27167.cpp: In function 'void addedge(int, int, long int)':
0_0_13801830_27167.cpp:37:4: error: 'e' was not declared in this scope
e[cnt].next = first[x];e[cnt].y = y;e[cnt].w = z;first[x] = cnt ++;
^
0_0_13801830_27167.cpp: In function 'void loop(long int)':
0_0_13801830_27167.cpp:75:4: error: 'set' was not declared in this scope
set <LL> :: iterator j;
^
0_0_13801830_27167.cpp:15:12: error: expected primary-expression before 'long'
#define LL long
^
0_0_13801830_27167.cpp:75:9: note: in expansion of macro 'LL'
set <LL> :: iterator j;
^
0_0_13801830_27167.cpp:79:9: error: 'j' was not declared in this scope
for (j = S.begin();j != S.end();){
^
0_0_13801830_27167.cpp:79:13: error: 'S' was not declared in this scope
for (j = S.begin();j != S.end();){
^
0_0_13801830_27167.cpp:108:17: error: 'S' was not declared in this scope
for(;k;k --) S.insert(tmp[k]);
^
0_0_13801830_27167.cpp: In function 'void dfs(int, int)':
0_0_13801830_27167.cpp:118:4: error: 'S' was not declared in this scope
S.insert(w);
^
0_0_13801830_27167.cpp:122:38: error: 'e' was not declared in this scope
for (int i = first[x];i != -1;i = e[i].next) if (!can[i / 2] &&
^
0_0_13801830_27167.cpp: In function 'int main()':
0_0_13801830_27167.cpp:141:27: error: 'scanf' was not declared in this scope
scanf("%d%d%d",&n,&m,&q);
^
0_0_13801830_27167.cpp:148:32: error: 'memset' was not declared in this scope
memset(first,-1,sizeof first);
^
0_0_13801830_27167.cpp:167:8: error: 'S' was not declared in this scope
tot) * S.size() - 1;
^
0_0_13801830_27167.cpp:173:3: error: 'e' was not declared in this scope
= e[2 * dis[i]].y,x = e[2 * dis[i] + 1].y;
^
0_0_13801830_27167.cpp:195:58: error: 'printf' was not declared in this scope
for (int i = 1;i <= q + 1;i ++) printf("%lld\n",ans[i]);
^
|