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_29299839_26460.cpp:16:32: error: 'c' is not a type
  qnode(int _v=0,int _c=0:v(_v),c(_c)){}
                                ^
0_0_29299839_26460.cpp:16:36: error: redefinition of 'int _c'
  qnode(int _v=0,int _c=0:v(_v),c(_c)){}
                                    ^
0_0_29299839_26460.cpp:16:30: note: 'int _c' previously declared here
  qnode(int _v=0,int _c=0:v(_v),c(_c)){}
                              ^
0_0_29299839_26460.cpp:16:25: error: expected ',' before ':' token
  qnode(int _v=0,int _c=0:v(_v),c(_c)){}
                         ^
0_0_29299839_26460.cpp:24:42: error: 'a' is not a type
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                          ^
0_0_29299839_26460.cpp:24:46: error: redefinition of 'int _a'
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                              ^
0_0_29299839_26460.cpp:24:23: note: 'int _a' previously declared here
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                       ^
0_0_29299839_26460.cpp:24:48: error: 'Min' is not a type
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                                ^
0_0_29299839_26460.cpp:24:56: error: redefinition of 'int _Min'
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                                        ^
0_0_29299839_26460.cpp:24:40: note: 'int _Min' previously declared here
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                        ^
0_0_29299839_26460.cpp:24:35: error: expected ',' before ':' token
  edge(int _v=0,int _a=0,int _Min=0:v(_v),a(_a),Min(_Min)){}
                                   ^
0_0_29299839_26460.cpp: In function 'void dij(int, int)':
0_0_29299839_26460.cpp:37:25: error: statement cannot resolve address of overloaded function
  while(!q.empty()) q.pop;
                         ^


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-09-28 16:20:27, Gzip enabled