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_21415868_26036.cpp:9:11: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
           ^
0_0_21415868_26036.cpp:9:17: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                 ^
0_0_21415868_26036.cpp:9:31: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                               ^
0_0_21415868_26036.cpp:9:40: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                                        ^
0_0_21415868_26036.cpp:9:46: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                                              ^
0_0_21415868_26036.cpp:9:55: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                                                       ^
0_0_21415868_26036.cpp:9:61: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                                                             ^
0_0_21415868_26036.cpp:9:70: error: 'maxn' was not declared in this scope
 int n,m,f[maxn][maxn],ans=0,a[maxn],ma[maxn][maxn],mi[maxn][maxn],la[maxn];
                                                                      ^
0_0_21415868_26036.cpp: In function 'int main()':
0_0_21415868_26036.cpp:17:16: error: 'f' was not declared in this scope
         memset(f,0,sizeof(f));
                ^
0_0_21415868_26036.cpp:20:25: error: 'a' was not declared in this scope
             scanf("%d",&a[i]);
                         ^
0_0_21415868_26036.cpp:24:13: error: 'mi' was not declared in this scope
             mi[i][i]=a[i];
             ^
0_0_21415868_26036.cpp:24:22: error: 'a' was not declared in this scope
             mi[i][i]=a[i];
                      ^
0_0_21415868_26036.cpp:25:13: error: 'ma' was not declared in this scope
             ma[i][i]=a[i];
             ^
0_0_21415868_26036.cpp:26:13: error: 'la' was not declared in this scope
             la[i]=i;
             ^
0_0_21415868_26036.cpp:39:20: error: 'ma' was not declared in this scope
                 if(ma[j][k]-mi[j][k]!=k-j)
                    ^
0_0_21415868_26036.cpp:39:29: error: 'mi' was not declared in this scope
                 if(ma[j][k]-mi[j][k]!=k-j)
                             ^
0_0_21415868_26036.cpp:43:39: error: 'la' was not declared in this scope
                     if(mi[j][k]<mi[j][la[j]])
                                       ^
0_0_21415868_26036.cpp:47:21: error: 'la' was not declared in this scope
                     la[j]=k;
                     ^
0_0_21415868_26036.cpp:56:50: error: 'mi' was not declared in this scope
                 if (f[i][j]&&((i==1||(f[1][i-1]&&mi[1][i-1]==1))))
                                                  ^
0_0_21415868_26036.cpp:58:28: error: 'ma' was not declared in this scope
                     int jj=ma[i][j];
                            ^


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 10:40:19, Gzip enabled