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_17366507_24293.cpp: In function 'void bfs()':
0_0_17366507_24293.cpp:32:18: error: cannot convert 'int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
  int len=strlen(r)-1;
                  ^
0_0_17366507_24293.cpp:35:12: error: request for member 'd' in 'p[op]', which is of non-class type 'int'
   if(p[op].d>len) break;
            ^
0_0_17366507_24293.cpp:36:17: error: expected primary-expression before ']' token
   for(int i=map[])
                 ^
0_0_17366507_24293.cpp:37:2: error: expected ';' before '}' token
  }
  ^
0_0_17366507_24293.cpp:37:2: error: expected primary-expression before '}' token
0_0_17366507_24293.cpp:37:2: error: expected ';' before '}' token
0_0_17366507_24293.cpp:37:2: error: expected primary-expression before '}' token
0_0_17366507_24293.cpp:37:2: error: expected ')' before '}' token
0_0_17366507_24293.cpp:37:2: error: expected primary-expression before '}' token
0_0_17366507_24293.cpp: In function 'int main()':
0_0_17366507_24293.cpp:60:39: error: 'query' was not declared in this scope
         for(int i=0;i<m;i++)    query();
                                       ^


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-12-03 22:53:29, Gzip enabled