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_38518677_4286.cpp: In function 'void solve()':
0_0_38518677_4286.cpp:73:12: error: missing template arguments before 'dist'
     vector dist(n, vector<int>(2, 1e18 + 10));
            ^
0_0_38518677_4286.cpp:74:5: error: 'dist' was not declared in this scope
     dist[s][0] = 0;
     ^
0_0_38518677_4286.cpp:75:12: error: missing template arguments before 'st'
     vector st(n, vector<int>(2));
            ^
0_0_38518677_4286.cpp:88:22: error: expected unqualified-id before '[' token
             for(auto [b, c, d] : adj[u]) {
                      ^
0_0_38518677_4286.cpp:88:22: error: expected ';' before '[' token
0_0_38518677_4286.cpp:88:23: error: 'b' was not declared in this scope
             for(auto [b, c, d] : adj[u]) {
                       ^
0_0_38518677_4286.cpp:88:26: error: 'c' was not declared in this scope
             for(auto [b, c, d] : adj[u]) {
                          ^
0_0_38518677_4286.cpp: In lambda function:
0_0_38518677_4286.cpp:88:32: error: expected '{' before ':' token
             for(auto [b, c, d] : adj[u]) {
                                ^
0_0_38518677_4286.cpp: In function 'void solve()':
0_0_38518677_4286.cpp:88:32: error: could not convert '<lambda closure object>solve()::<lambda()>{d}' from 'solve()::<lambda()>' to 'bool'
0_0_38518677_4286.cpp:88:32: error: expected ';' before ':' token
0_0_38518677_4286.cpp:88:32: error: expected primary-expression before ':' token
0_0_38518677_4286.cpp:88:32: error: expected ')' before ':' token
0_0_38518677_4286.cpp:88:32: error: expected primary-expression before ':' token
0_0_38518677_4286.cpp:101:12: error: 'st' was not declared in this scope
         if(st[u][p]) continue;
            ^
0_0_38518677_4286.cpp:102:9: error: 'st' was not declared in this scope
         st[u][p] = 1;
         ^
0_0_38518677_4286.cpp:103:18: error: expected unqualified-id before '[' token
         for(auto [b, c, d1] : adj[u]) {
                  ^
0_0_38518677_4286.cpp:103:18: error: expected ';' before '[' token
0_0_38518677_4286.cpp:103:19: error: 'b' was not declared in this scope
         for(auto [b, c, d1] : adj[u]) {
                   ^
0_0_38518677_4286.cpp:103:22: error: 'c' was not declared in this scope
         for(auto [b, c, d1] : adj[u]) {
                      ^
0_0_38518677_4286.cpp:103:25: error: 'd1' was not declared in this scope
         for(auto [b, c, d1] : adj[u]) {
                         ^
0_0_38518677_4286.cpp: In lambda function:
0_0_38518677_4286.cpp:103:29: error: expected '{' before ':' token
         for(auto [b, c, d1] : adj[u]) {
                             ^
0_0_38518677_4286.cpp: In function 'void solve()':
0_0_38518677_4286.cpp:103:29: error: expected ';' before ':' token
0_0_38518677_4286.cpp:103:29: error: expected primary-expression before ':' token
0_0_38518677_4286.cpp:103:29: error: expected ')' before ':' token
0_0_38518677_4286.cpp:103:29: error: expected primary-expression before ':' token


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-23 06:52:27, Gzip enabled