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_29086531_21259.cpp: In function 'void input_build()':
0_0_29086531_21259.cpp:32:17: error: 'm' was not declared in this scope
     scanf("%d",&m);
                 ^
0_0_29086531_21259.cpp:39:47: error: 'add_edge' was not declared in this scope
         if(s[0]=='g') add_edge(st-1,st+len,k+1);
                                               ^
0_0_29086531_21259.cpp:40:55: error: 'add_edge' was not declared in this scope
         else if(s[0]=='l') add_edge(st+len,st-1,-(k-1));
                                                       ^
0_0_29086531_21259.cpp: In function 'int main()':
0_0_29086531_21259.cpp:71:22: error: invalid operands of types 'const char [3]' and 'int' to binary 'operator&'
     while(scanf("%d"&n)!=EOF&&n){
                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 07:31:36, Gzip enabled