0_0_37795236_15278.cpp: In function 'void solve()':
0_0_37795236_15278.cpp:47:10: error: expected unqualified-id before '[' token
auto [time, type, cost, id] = que.top();
^
0_0_37795236_15278.cpp:49:9: error: 'type' was not declared in this scope
if(!type) {
^
0_0_37795236_15278.cpp:50:20: error: 'id' was not declared in this scope
int idx = in[id];
^
0_0_37795236_15278.cpp:55:50: error: 'cost' was not declared in this scope
if(cnt[tmp.id] == 0) last[tmp.id] = time + cost;
^
0_0_37795236_15278.cpp:56:28: error: 'cost' was not declared in this scope
else last[tmp.id] += cost;
^
0_0_37795236_15278.cpp:59:36: error: 'cost' was not declared in this scope
que.emplace(last[tmp.id], 0, cost, id);
^
0_0_37795236_15278.cpp:59:42: error: 'id' was not declared in this scope
que.emplace(last[tmp.id], 0, cost, id);
^
|