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_17827009_29816.cpp: In function 'int KM(int, int, bool)':
0_0_17827009_29816.cpp:80:51: error: lvalue required as increment operand
   else if(col[u] == 2 && str[u] == B) listy[b][++ cnty] = u;
                                                   ^
0_0_17827009_29816.cpp:105:12: error: incompatible types in assignment of 'int' to 'int [510]'
   match[j] = 0;
            ^
0_0_17827009_29816.cpp:127:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    for(int s = 1; s <= cntx; s ++){
                        ^
0_0_17827009_29816.cpp:128:20: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     int i = listx[s], j = listy[s];
                    ^
0_0_17827009_29816.cpp:128:34: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     int i = listx[s], j = listy[s];
                                  ^
0_0_17827009_29816.cpp:137:27: error: invalid types 'int[bool]' for array subscript
  for(int i = 1; i <= cnt[b]x; i ++){
                           ^
0_0_17827009_29816.cpp:137:28: error: expected ';' before 'x'
  for(int i = 1; i <= cnt[b]x; i ++){
                            ^
0_0_17827009_29816.cpp:137:28: error: 'x' was not declared in this scope
0_0_17827009_29816.cpp:137:29: error: expected ')' before ';' token
  for(int i = 1; i <= cnt[b]x; i ++){
                             ^
0_0_17827009_29816.cpp:137:31: error: 'i' was not declared in this scope
  for(int i = 1; i <= cnt[b]x; 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-26 08:18:45, Gzip enabled