0_0_20350466_32500.cpp:1:4: error: 'min' does not name a type min=e[i].to; ^ 0_0_20350466_32500.cpp:2:4: error: expected unqualified-id before 'if' if (dis[min]>dis[queue[head]]+e[i].val) ^