0_0_29144081_19399.cpp:24:1: error: expected unqualified-id before '?' token
? ?int v,w,nex;
^
0_0_29144081_19399.cpp: In function 'void add(int, int, int)':
0_0_29144081_19399.cpp:29:1: error: expected primary-expression before '?' token
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:3: error: expected primary-expression before '?' token
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:12: error: 'struct st' has no member named 'v'
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:24: error: 'struct st' has no member named 'w'
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:38: error: 'struct st' has no member named 'nex'
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:59: error: expected ':' before ';' token
? ?edge[e].v=v,edge[e].w = w,edge[e].nex=hed[u],hed[u]=e++;
^
0_0_29144081_19399.cpp:29:59: error: expected primary-expression before ';' token
0_0_29144081_19399.cpp:29:59: error: expected ':' before ';' token
0_0_29144081_19399.cpp:29:59: error: expected primary-expression before ';' token
0_0_29144081_19399.cpp: In function 'void spfa()':
0_0_29144081_19399.cpp:34:1: error: expected primary-expression before '?' token
? ? for(int i=1;i<=nn;i++)dis[i]=inf,vis[i]=0;
^
0_0_29144081_19399.cpp:34:3: error: expected primary-expression before '?' token
? ? for(int i=1;i<=nn;i++)dis[i]=inf,vis[i]=0;
^
0_0_29144081_19399.cpp:34:5: error: expected primary-expression before 'for'
? ? for(int i=1;i<=nn;i++)dis[i]=inf,vis[i]=0;
^
0_0_29144081_19399.cpp:34:5: error: expected ':' before 'for'
0_0_29144081_19399.cpp:34:5: error: expected primary-expression before 'for'
0_0_29144081_19399.cpp:34:5: error: expected ':' before 'for'
0_0_29144081_19399.cpp:34:5: error: expected primary-expression before 'for'
0_0_29144081_19399.cpp:34:17: error: 'i' was not declared in this scope
? ? for(int i=1;i<=nn;i++)dis[i]=inf,vis[i]=0;
^
0_0_29144081_19399.cpp:35:1: error: expected primary-expression before '?' token
? ? dis[1]=0,vis[1]=1;
^
0_0_29144081_19399.cpp:35:3: error: expected primary-expression before '?' token
? ? dis[1]=0,vis[1]=1;
^
0_0_29144081_19399.cpp:35:22: error: expected ':' before ';' token
? ? dis[1]=0,vis[1]=1;
^
0_0_29144081_19399.cpp:35:22: error: expected primary-expression before ';' token
0_0_29144081_19399.cpp:35:22: error: expected ':' before ';' token
0_0_29144081_19399.cpp:35:22: error: expected primary-expression before ';' token
0_0_29144081_19399.cpp:36:1: error: expected primary-expression before '?' token
? ? queue<int>q;q.push(1);
^
0_0_29144081_19399.cpp:36:3: error: expected primary-expression before '?' token
? ? queue<int>q;q.push(1);
^
0_0_29144081_19399.cpp:36:15: error: expected primary-expression before 'q'
? ? queue<int>q;q.push(1);
^
0_0_29144081_19399.cpp:36:15: error: expected ':' before 'q'
0_0_29144081_19399.cpp:36:15: error: 'q' was not declared in this scope
0_0_29144081_19399.cpp:36:16: error: expected ':' before ';' token
? ? queue<int>q;q.push(1);
^
0_0_29144081_19399.cpp:36:16: error: expected primary-expression before ';' token
0_0_29144081_19399.cpp:37:1: error: expected primary-expression before '?' token
? ? while(!q.empty()){
^
0_0_29144081_19399.cpp:37:3: error: expected primary-expression before '?' token
? ? while(!q.empty()){
^
0_0_29144081_19399.cpp:37:5: error: expected primary-expression before 'while'
? ? while(!q.empty()){
^
0_0_29144081_19399.cpp:37:5: error: expected ':' before 'while'
0_0_29144081_19399.cpp:37:5: error: expected primary-expression before 'while'
0_0_29144081_19399.cpp:37:5: error: expected ':' before 'while'
0_0_29144081_19399.cpp:37:5: error: expected primary-expression before 'while'
0_0_29144081_19399.cpp: In function 'int main()':
0_0_29144081_19399.cpp:55:1: error: expected primary-expression before '?' token
? ? int t;cin>>t;
^
0_0_29144081_19399.cpp:55:3: error: expected primary-expression before '?' token
? ? int t;cin>>t;
^
0_0_29144081_19399.cpp:55:5: error: expected primary-expression before 'int'
? ? int t;cin>>t;
^
0_0_29144081_19399.cpp:55:5: error: expected ':' before 'int'
0_0_29144081_19399.cpp:55:5: error: expected primary-expression before 'int'
0_0_29144081_19399.cpp:55:5: error: expected ':' before 'int'
0_0_29144081_19399.cpp:55:5: error: expected primary-expression before 'int'
0_0_29144081_19399.cpp:55:16: error: 't' was not declared in this scope
? ? int t;cin>>t;
^
0_0_29144081_19399.cpp:56:1: error: expected primary-expression before '?' token
? ? while(t--){
^
0_0_29144081_19399.cpp:56:3: error: expected primary-expression before '?' token
? ? while(t--){
^
0_0_29144081_19399.cpp:56:5: error: expected primary-expression before 'while'
? ? while(t--){
^
0_0_29144081_19399.cpp:56:5: error: expected ':' before 'while'
0_0_29144081_19399.cpp:56:5: error: expected primary-expression before 'while'
0_0_29144081_19399.cpp:56:5: error: expected ':' before 'while'
0_0_29144081_19399.cpp:56:5: error: expected primary-expression before 'while'
0_0_29144081_19399.cpp:82:1: error: expected primary-expression before '?' token
? ? return 0;
^
0_0_29144081_19399.cpp:82:3: error: expected primary-expression before '?' token
? ? return 0;
^
0_0_29144081_19399.cpp:82:5: error: expected primary-expression before 'return'
? ? return 0;
^
0_0_29144081_19399.cpp:82:5: error: expected ':' before 'return'
0_0_29144081_19399.cpp:82:5: error: expected primary-expression before 'return'
0_0_29144081_19399.cpp:82:5: error: expected ':' before 'return'
0_0_29144081_19399.cpp:82:5: error: expected primary-expression before 'return'
|