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_38488633_1909.cpp: In function 'void dijkstra()':
0_0_38488633_1909.cpp:20:13: error: 'rep' was not declared in this scope
     rep(1, n)
             ^
0_0_38488633_1909.cpp:28:20: error: 'node' was not declared in this scope
     priority_queue<node> q;
                    ^
0_0_38488633_1909.cpp:28:24: error: template argument 1 is invalid
     priority_queue<node> q;
                        ^
0_0_38488633_1909.cpp:28:24: error: template argument 2 is invalid
0_0_38488633_1909.cpp:28:24: error: template argument 3 is invalid
0_0_38488633_1909.cpp:28:27: error: invalid type in declaration before ';' token
     priority_queue<node> q;
                           ^
0_0_38488633_1909.cpp:29:7: error: request for member 'push' in 'q', which is of non-class type 'int'
     q.push({s, 0, 0});
       ^
0_0_38488633_1909.cpp:31:14: error: request for member 'size' in 'q', which is of non-class type 'int'
     while (q.size())
              ^
0_0_38488633_1909.cpp:33:20: error: request for member 'top' in 'q', which is of non-class type 'int'
         auto t = q.top();
                    ^
0_0_38488633_1909.cpp:34:11: error: request for member 'pop' in 'q', which is of non-class type 'int'
         q.pop();
           ^
0_0_38488633_1909.cpp:37:14: error: 'tp' was not declared in this scope
         if (!tp)
              ^
0_0_38488633_1909.cpp:44:17: error: 'vis' was not declared in this scope
                 vis[j] = cnt;
                 ^
0_0_38488633_1909.cpp:49:21: error: 'vis' was not declared in this scope
                 if (vis[it] != cnt)
                     ^
0_0_38488633_1909.cpp:52:23: error: request for member 'push' in 'q', which is of non-class type 'int'
                     q.push({it, dist[it][0], 0});
                       ^
0_0_38488633_1909.cpp:60:13: error: 'tp' was not declared in this scope
         if (tp)
             ^
0_0_38488633_1909.cpp:61:18: error: 'k' was not declared in this scope
             y -= k;
                  ^
0_0_38488633_1909.cpp:62:21: error: 'tp' was not declared in this scope
         if (st[ver][tp])
                     ^
0_0_38488633_1909.cpp:69:43: error: 'tp' was not declared in this scope
             if (dist[j][p[i]] > dist[ver][tp] + w[i] + y)
                                           ^
0_0_38488633_1909.cpp:72:19: error: request for member 'push' in 'q', which is of non-class type 'int'
                 q.push({j, dist[j][p[i]], p[i]});
                   ^
0_0_38488633_1909.cpp: In function 'void solve()':
0_0_38488633_1909.cpp:85:6: error: 'dij' was not declared in this scope
  dij();
      ^


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:26:03, Gzip enabled