0_0_32856497_15372.cpp:1:7: error: stray '#' in program
<code>#include <bits/stdc++.h>
^
0_0_32856497_15372.cpp:1:1: error: expected unqualified-id before '<' token
<code>#include <bits/stdc++.h>
^
0_0_32856497_15372.cpp:9:1: error: 'vector' does not name a type
vector<pair<int,int> > g[N];
^
0_0_32856497_15372.cpp: In function 'void dijkstra(int, ll*)':
0_0_32856497_15372.cpp:25:5: error: 'priority_queue' was not declared in this scope
priority_queue<node> pq;
^
0_0_32856497_15372.cpp:25:24: error: expected primary-expression before '>' token
priority_queue<node> pq;
^
0_0_32856497_15372.cpp:25:26: error: 'pq' was not declared in this scope
priority_queue<node> pq;
^
0_0_32856497_15372.cpp:35:17: error: 'g' was not declared in this scope
int siz=g[u].size();
^
0_0_32856497_15372.cpp: In function 'void init()':
0_0_32856497_15372.cpp:52:32: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_32856497_15372.cpp: In function 'bool bfs()':
0_0_32856497_15372.cpp:62:29: error: 'memset' was not declared in this scope
memset(dep,0,sizeof(dep));
^
0_0_32856497_15372.cpp:64:5: error: 'queue' was not declared in this scope
queue<int> q;
^
0_0_32856497_15372.cpp:64:11: error: expected primary-expression before 'int'
queue<int> q;
^
0_0_32856497_15372.cpp:65:5: error: 'q' was not declared in this scope
q.push(1);
^
0_0_32856497_15372.cpp: In function 'll dfs(int, ll)':
0_0_32856497_15372.cpp:89:37: error: 'min' was not declared in this scope
int dis=dfs(v,min(w,flow));
^
0_0_32856497_15372.cpp: In function 'int main()':
0_0_32856497_15372.cpp:113:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_32856497_15372.cpp:117:13: error: 'g' was not declared in this scope
g[i].clear();
^
0_0_32856497_15372.cpp:121:13: error: 'g' was not declared in this scope
g[uu[i]].push_back({vv[i],ww[i]});
^
0_0_32856497_15372.cpp:125:13: error: 'g' was not declared in this scope
g[i].clear();
^
0_0_32856497_15372.cpp:128:13: error: 'g' was not declared in this scope
g[vv[i]].push_back({uu[i],ww[i]});
^
0_0_32856497_15372.cpp:138:28: error: 'printf' was not declared in this scope
printf("%lld\n",ans);
^
|