0_0_21857280_2417.cpp:16:5: error: default argument missing for parameter 3 of 'Edge::Edge(int, int, LL)'
Edge(int to = 0, int next = 0, LL len): to(to), next(next), len(len) {}
^
0_0_21857280_2417.cpp:17:13: error: call of overloaded 'Edge()' is ambiguous
} E[maxn * 4];
^
0_0_21857280_2417.cpp:17:13: note: candidates are:
0_0_21857280_2417.cpp:16:5: note: Edge::Edge(int, int, LL)
Edge(int to = 0, int next = 0, LL len): to(to), next(next), len(len) {}
^
0_0_21857280_2417.cpp:15:5: note: Edge::Edge()
Edge() {}
^
0_0_21857280_2417.cpp: In function 'void Spfa()':
0_0_21857280_2417.cpp:41:26: error: 'u' was not declared in this scope
for(int k = head[u]; ~k ; k = E[k].next)
^
0_0_21857280_2417.cpp: In function 'int main()':
0_0_21857280_2417.cpp:63:9: error: expected ';' before 'for'
for(int i = 1; i <= M; i++)
^
0_0_21857280_2417.cpp:63:24: error: 'i' was not declared in this scope
for(int i = 1; i <= M; i++)
^
0_0_21857280_2417.cpp:79:17: error: 'class std::queue<int>' has no member named 'psuh'
que.psuh(), inque[v] = true;
^
|