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_36701864_4193.cpp: In function 'int rectangle(int)':
0_0_36701864_4193.cpp:19:17: error: 'maxn' was not declared in this scope
 for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                 ^
0_0_36701864_4193.cpp:19:27: error: 'l' was not declared in this scope
 for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                           ^
0_0_36701864_4193.cpp:19:32: error: 'r' was not declared in this scope
 for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                                ^
0_0_36701864_4193.cpp:21:8: error: 'l' was not declared in this scope
 while (l[i]-1>=0 && h[l[i]-1]>=h[i])l[i]=l[l[i]-1];
        ^
0_0_36701864_4193.cpp:21:21: error: 'h' was not declared in this scope
 while (l[i]-1>=0 && h[l[i]-1]>=h[i])l[i]=l[l[i]-1];
                     ^
0_0_36701864_4193.cpp:23:8: error: 'r' was not declared in this scope
 while (r[i]+1<m && h[r[i]+1]>=h[i])r[i]=r[r[i]+1];
        ^
0_0_36701864_4193.cpp:23:20: error: 'h' was not declared in this scope
 while (r[i]+1<m && h[r[i]+1]>=h[i])r[i]=r[r[i]+1];
                    ^
0_0_36701864_4193.cpp:26:4: error: 'h' was not declared in this scope
 if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
    ^
0_0_36701864_4193.cpp:26:27: error: 'r' was not declared in this scope
 if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
                           ^
0_0_36701864_4193.cpp:26:32: error: 'l' was not declared in this scope
 if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
                                ^
0_0_36701864_4193.cpp: In function 'int square(int, int)':
0_0_36701864_4193.cpp:33:24: error: 'dp' was not declared in this scope
 for (int i=0; i<m; ++i)dp[0][i]=1;
                        ^
0_0_36701864_4193.cpp:34:24: error: 'dp' was not declared in this scope
 for (int i=0; i<n; ++i)dp[i][0]=1;
                        ^
0_0_36701864_4193.cpp:40:4: error: 'imap' was not declared in this scope
 if(imap[i][j]!=imap[i-1][j] && imap[i][j]!=imap[i][j-1])
    ^
0_0_36701864_4193.cpp:42:15: error: 'dp' was not declared in this scope
 int limit=min(dp[i][j-1], dp[i-1][j]);
               ^
0_0_36701864_4193.cpp:45:6: error: 'dp' was not declared in this scope
 else dp[i][j]=1;
      ^
0_0_36701864_4193.cpp:49:62: error: 'dp' was not declared in this scope
 for (int i=0; i<n; ++i) for (int j=0; j<m; ++j) res=max(res, dp[i][j]);
                                                              ^
0_0_36701864_4193.cpp: In function 'int main()':
0_0_36701864_4193.cpp:61:10: error: 'maxn' was not declared in this scope
 char str[maxn];
          ^
0_0_36701864_4193.cpp:64:13: error: 'str' was not declared in this scope
 scanf("%s", str);
             ^
0_0_36701864_4193.cpp:67:1: error: 'imap' was not declared in this scope
 imap[i][j]=(str[j]=='B');
 ^
0_0_36701864_4193.cpp:72:7: error: 'h' was not declared in this scope
 clean(h, 0);
       ^
0_0_36701864_4193.cpp:72:11: error: 'clean' was not declared in this scope
 clean(h, 0);
           ^
0_0_36701864_4193.cpp:77:4: error: 'imap' was not declared in this scope
 if(imap[i][j])h[j]++;
    ^
0_0_36701864_4193.cpp:88:4: error: 'imap' was not declared in this scope
 if(imap[i][j])h[j]=0;
    ^


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 07:50:15, Gzip enabled