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_19382309_29216.cpp:9:44: error: 'maxn' was not declared in this scope
 int id[maxm],n,m,col[M],head[maxm],ec=0,to[maxn*2],nex[maxn*2],cnt[maxm],top=0;
                                            ^
0_0_19382309_29216.cpp:9:56: error: 'maxn' was not declared in this scope
 int id[maxm],n,m,col[M],head[maxm],ec=0,to[maxn*2],nex[maxn*2],cnt[maxm],top=0;
                                                        ^
0_0_19382309_29216.cpp:10:9: error: 'maxn' was not declared in this scope
 int stk[maxn];
         ^
0_0_19382309_29216.cpp: In function 'void Add(int, int)':
0_0_19382309_29216.cpp:33:13: error: 'stk' was not declared in this scope
  if(top)pos=stk[top--];
             ^
0_0_19382309_29216.cpp:35:2: error: 'to' was not declared in this scope
  to[pos]=y;nex[pos]=head[x];head[x]=pos;
  ^
0_0_19382309_29216.cpp:35:12: error: 'nex' was not declared in this scope
  to[pos]=y;nex[pos]=head[x];head[x]=pos;
            ^
0_0_19382309_29216.cpp: In function 'void solve()':
0_0_19382309_29216.cpp:90:22: error: 'nex' was not declared in this scope
    for(i=head[b];i;i=nex[i]){
                      ^
0_0_19382309_29216.cpp:91:7: error: 'to' was not declared in this scope
     a=to[i];//
       ^
0_0_19382309_29216.cpp:94:5: error: 'stk' was not declared in this scope
     stk[++top]=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-12-03 22:09:15, Gzip enabled