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_20934841_28072.cpp:15:24: error: stray '#' in program
 const int maxn = 1000 + 5;
                        ^
0_0_20934841_28072.cpp:17:23: error: stray '#' in program
 const int maxc = 100 + 5;
                       ^
0_0_20934841_28072.cpp:43:36: error: stray '#' in program
         if(gas < c && vis[pos][gas+1] == 0){
                                    ^
0_0_20934841_28072.cpp:44:30: error: stray '#' in program
             Q.push(P(-(price+p[pos]),PP(pos,gas+1)));
                              ^
0_0_20934841_28072.cpp:44:53: error: stray '#' in program
             Q.push(P(-(price+p[pos]),PP(pos,gas+1)));
                                                     ^
0_0_20934841_28072.cpp:46:43: error: stray '#' in program
         for(int i = 0;i < G[pos].size();i++){
                                           ^
0_0_20934841_28072.cpp:46:48: error: stray '#' in program
         for(int i = 0;i < G[pos].size();i++){
                                                ^
0_0_20934841_28072.cpp:60:31: error: stray '#' in program
         for(int i = 0;i < n;i++) scanf("%d",&p[i]);
                               ^
0_0_20934841_28072.cpp:60:36: error: stray '#' in program
         for(int i = 0;i < n;i++) scanf("%d",&p[i]);
                                    ^
0_0_20934841_28072.cpp:61:31: error: stray '#' in program
         for(int i = 0;i < n;i++) G[i].clear();
                               ^
0_0_20934841_28072.cpp:61:36: error: stray '#' in program
         for(int i = 0;i < n;i++) G[i].clear();
                                    ^
0_0_20934841_28072.cpp:62:31: error: stray '#' in program
         for(int i = 0;i < m;i++){
                               ^
0_0_20934841_28072.cpp:62:36: error: stray '#' in program
         for(int i = 0;i < m;i++){
                                    ^
0_0_20934841_28072.cpp:15:29: error: expected unqualified-id before numeric constant
 const int maxn = 1000 + 5;
                             ^
0_0_20934841_28072.cpp:17:28: error: expected unqualified-id before numeric constant
 const int maxc = 100 + 5;
                            ^
0_0_20934841_28072.cpp: In function 'int bfs()':
0_0_20934841_28072.cpp:43:39: error: expected ']' before ';' token
         if(gas < c && vis[pos][gas+1] == 0){
                                       ^
0_0_20934841_28072.cpp:43:39: error: expected ')' before ';' token
0_0_20934841_28072.cpp:43:41: error: expected ';' before ']' token
         if(gas < c && vis[pos][gas+1] == 0){
                                         ^
0_0_20934841_28072.cpp:46:46: error: expected ')' before ';' token
         for(int i = 0;i < G[pos].size();i++){
                                              ^
0_0_20934841_28072.cpp:46:49: error: lvalue required as unary '&' operand
         for(int i = 0;i < G[pos].size();i++){
                                                 ^
0_0_20934841_28072.cpp:46:52: error: expected primary-expression before ')' token
         for(int i = 0;i < G[pos].size();i++){
                                                    ^
0_0_20934841_28072.cpp: In function 'int main()':
0_0_20934841_28072.cpp:60:34: error: expected ')' before ';' token
         for(int i = 0;i < n;i++) scanf("%d",&p[i]);
                                  ^
0_0_20934841_28072.cpp:60:37: error: lvalue required as unary '&' operand
         for(int i = 0;i < n;i++) scanf("%d",&p[i]);
                                     ^
0_0_20934841_28072.cpp:60:40: error: expected primary-expression before ')' token
         for(int i = 0;i < n;i++) scanf("%d",&p[i]);
                                        ^
0_0_20934841_28072.cpp:61:34: error: expected ')' before ';' token
         for(int i = 0;i < n;i++) G[i].clear();
                                  ^
0_0_20934841_28072.cpp:61:37: error: lvalue required as unary '&' operand
         for(int i = 0;i < n;i++) G[i].clear();
                                     ^
0_0_20934841_28072.cpp:61:40: error: expected primary-expression before ')' token
         for(int i = 0;i < n;i++) G[i].clear();
                                        ^
0_0_20934841_28072.cpp:62:34: error: expected ')' before ';' token
         for(int i = 0;i < m;i++){
                                  ^
0_0_20934841_28072.cpp:62:37: error: lvalue required as unary '&' operand
         for(int i = 0;i < m;i++){
                                     ^
0_0_20934841_28072.cpp:62:40: error: expected primary-expression before ')' token
         for(int i = 0;i < m;i++){
                                        ^


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-30 05:02:14, Gzip enabled