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_26618877_13198.cpp: In function 'int rectangle(int)':
0_0_26618877_13198.cpp:4:21: error: 'maxn' was not declared in this scope
     for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                     ^
0_0_26618877_13198.cpp:4:31: error: 'l' was not declared in this scope
     for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                               ^
0_0_26618877_13198.cpp:4:36: error: 'r' was not declared in this scope
     for (int i=0; i<maxn; ++i)l[i]=r[i]=i;
                                    ^
0_0_26618877_13198.cpp:6:16: 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_26618877_13198.cpp:6:29: 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_26618877_13198.cpp:8:16: 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_26618877_13198.cpp:8:28: 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_26618877_13198.cpp:11:12: error: 'h' was not declared in this scope
         if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
            ^
0_0_26618877_13198.cpp:11:35: error: 'r' was not declared in this scope
         if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
                                   ^
0_0_26618877_13198.cpp:11:40: error: 'l' was not declared in this scope
         if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
                                        ^
0_0_26618877_13198.cpp:11:46: error: 'max' was not declared in this scope
         if(h[i])res=max(res, h[i]+r[i]-l[i]+1);
                                              ^
0_0_26618877_13198.cpp: In function 'int square(int, int)':
0_0_26618877_13198.cpp:18:28: error: 'dp' was not declared in this scope
     for (int i=0; i<m; ++i)dp[0][i]=1;
                            ^
0_0_26618877_13198.cpp:19:28: error: 'dp' was not declared in this scope
     for (int i=0; i<n; ++i)dp[i][0]=1;
                            ^
0_0_26618877_13198.cpp:25:16: 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_26618877_13198.cpp:27:31: error: 'dp' was not declared in this scope
                 int limit=min(dp[i][j-1], dp[i-1][j]);
                               ^
0_0_26618877_13198.cpp:27:53: error: 'min' was not declared in this scope
                 int limit=min(dp[i][j-1], dp[i-1][j]);
                                                     ^
0_0_26618877_13198.cpp:30:18: error: 'dp' was not declared in this scope
             else dp[i][j]=1;
                  ^
0_0_26618877_13198.cpp:34:66: 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_26618877_13198.cpp:34:74: error: 'max' 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_26618877_13198.cpp: In function 'int main()':
0_0_26618877_13198.cpp:42:30: error: 'scanf' was not declared in this scope
     int cas; scanf("%d", &cas);
                              ^
0_0_26618877_13198.cpp:46:18: error: 'maxn' was not declared in this scope
         char str[maxn];
                  ^
0_0_26618877_13198.cpp:49:25: error: 'str' was not declared in this scope
             scanf("%s", str);
                         ^
0_0_26618877_13198.cpp:52:17: error: 'imap' was not declared in this scope
                 imap[i][j]=(str[j]=='B');
                 ^
0_0_26618877_13198.cpp:57:15: error: 'h' was not declared in this scope
         clean(h, 0);
               ^
0_0_26618877_13198.cpp:57:19: error: 'clean' was not declared in this scope
         clean(h, 0);
                   ^
0_0_26618877_13198.cpp:62:20: error: 'imap' was not declared in this scope
                 if(imap[i][j])h[j]++;
                    ^
0_0_26618877_13198.cpp:65:38: error: 'max' was not declared in this scope
             tmp=max(rectangle(m), tmp);
                                      ^
0_0_26618877_13198.cpp:73:20: error: 'imap' was not declared in this scope
                 if(imap[i][j])h[j]=0;
                    ^
0_0_26618877_13198.cpp:76:38: error: 'max' was not declared in this scope
             tmp=max(rectangle(m), tmp);
                                      ^
0_0_26618877_13198.cpp:78:40: error: 'printf' was not declared in this scope
         printf("Case #%d: %d\n", I, tmp);
                                        ^


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-09-29 00:52:39, Gzip enabled