/in/foo.cc: In function 'void dijkstra_heap(int)':
/in/foo.cc:36:14: error: expected unqualified-id before '[' token
auto [w, p] = q.top();
^
/in/foo.cc:38:15: error: 'p' was not declared in this scope
if (d[p] != w) continue; // dp[p] != w 表示 p 已经访问过
^
/in/foo.cc:38:21: error: 'w' was not declared in this scope
if (d[p] != w) continue; // dp[p] != w 表示 p 已经访问过
^
/in/foo.cc:41:18: error: 'p' was not declared in this scope
repe (i, p) {
^
/in/foo.cc:2:38: note: in definition of macro 'repe'
#define repe(i, u) for (int i = head[u]; i != -1; i = nxt[i])
^