F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37981830_23848.cpp: In function 'void dij()':
0_0_37981830_23848.cpp:41:8: error: expected unqualified-id before '[' token
   auto [now,dd,tpe] = q.top();
        ^
0_0_37981830_23848.cpp:44:6: error: 'tpe' was not declared in this scope
   if(tpe == 0)
      ^
0_0_37981830_23848.cpp:46:13: error: 'now' was not declared in this scope
    st.erase(now);
             ^
0_0_37981830_23848.cpp:51:21: error: 'now' was not declared in this scope
    for(int i = head[now];i;i = nxt[i])
                     ^
0_0_37981830_23848.cpp:64:25: error: 'now' was not declared in this scope
     if(dis[it][0] > dis[now][tpe])
                         ^
0_0_37981830_23848.cpp:73:6: error: 'tpe' was not declared in this scope
   if(tpe)
      ^
0_0_37981830_23848.cpp:77:10: error: 'now' was not declared in this scope
   if(vis[now][tpe]) continue;
          ^
0_0_37981830_23848.cpp:77:15: error: 'tpe' was not declared in this scope
   if(vis[now][tpe]) continue;
               ^
0_0_37981830_23848.cpp:78:7: error: 'now' was not declared in this scope
   vis[now][tpe] = 1;
       ^
0_0_37981830_23848.cpp:78:12: error: 'tpe' was not declared in this scope
   vis[now][tpe] = 1;
            ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 19:02:01, Gzip enabled