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_33676435_20538.cpp:70:25: error: empty character constant
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                         ^
0_0_33676435_20538.cpp:70:37: error: empty character constant
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                     ^
0_0_33676435_20538.cpp:70:54: error: empty character constant
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                                      ^
0_0_33676435_20538.cpp:80:21: error: empty character constant
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                     ^
0_0_33676435_20538.cpp:80:33: error: empty character constant
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                 ^
0_0_33676435_20538.cpp:80:50: error: empty character constant
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                                  ^
0_0_33676435_20538.cpp:5:9: error: storage size of 'ch' isn't known
 char ch[];
         ^
0_0_33676435_20538.cpp:6:9: error: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
 int a[][];
         ^
0_0_33676435_20538.cpp:11:4: error: storage size of 's' isn't known
 }s[];
    ^
0_0_33676435_20538.cpp: In function 'int check1(int, int, int)':
0_0_33676435_20538.cpp:14:13: error: expected primary-expression before ';' token
   for(int i=;i<;i++)
             ^
0_0_33676435_20538.cpp:14:16: error: expected primary-expression before ';' token
   for(int i=;i<;i++)
                ^
0_0_33676435_20538.cpp:15:8: error: 'a' was not declared in this scope
     if(a[x][i]==num) return ;
        ^
0_0_33676435_20538.cpp:15:22: error: return-statement with no value, in function returning 'int' [-fpermissive]
     if(a[x][i]==num) return ;
                      ^
0_0_33676435_20538.cpp:16:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   return ;
   ^
0_0_33676435_20538.cpp: In function 'int check2(int, int, int)':
0_0_33676435_20538.cpp:20:15: error: expected primary-expression before ';' token
     for(int i=;i<;i++)
               ^
0_0_33676435_20538.cpp:20:18: error: expected primary-expression before ';' token
     for(int i=;i<;i++)
                  ^
0_0_33676435_20538.cpp:21:10: error: 'a' was not declared in this scope
       if(a[i][y]==num) return ;
          ^
0_0_33676435_20538.cpp:21:24: error: return-statement with no value, in function returning 'int' [-fpermissive]
       if(a[i][y]==num) return ;
                        ^
0_0_33676435_20538.cpp:22:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^
0_0_33676435_20538.cpp: In function 'int check3(int, int, int)':
0_0_33676435_20538.cpp:27:11: error: expected primary-expression before ')' token
     r=(x/+)*-;
           ^
0_0_33676435_20538.cpp:27:14: error: expected primary-expression before ';' token
     r=(x/+)*-;
              ^
0_0_33676435_20538.cpp:28:9: error: expected primary-expression before ';' token
     l=r-;        //l=x/3*3;
         ^
0_0_33676435_20538.cpp:29:11: error: expected primary-expression before ')' token
     v=(y/+)*-;
           ^
0_0_33676435_20538.cpp:29:14: error: expected primary-expression before ';' token
     v=(y/+)*-;
              ^
0_0_33676435_20538.cpp:30:9: error: expected primary-expression before ';' token
     u=v-;
         ^
0_0_33676435_20538.cpp:33:14: error: 'a' was not declared in this scope
          if (a[i][j]==num) return ;
              ^
0_0_33676435_20538.cpp:33:28: error: return-statement with no value, in function returning 'int' [-fpermissive]
          if (a[i][j]==num) return ;
                            ^
0_0_33676435_20538.cpp:34:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^
0_0_33676435_20538.cpp: In function 'void dfs(int)':
0_0_33676435_20538.cpp:42:14: error: expected primary-expression before ';' token
         flag=;
              ^
0_0_33676435_20538.cpp:47:13: error: expected primary-expression before ';' token
   for(int i=;i<=;i++)
             ^
0_0_33676435_20538.cpp:47:17: error: expected primary-expression before ';' token
   for(int i=;i<=;i++)
                 ^
0_0_33676435_20538.cpp:51:11: error: 'a' was not declared in this scope
           a[x][y]=i;
           ^
0_0_33676435_20538.cpp:52:17: error: expected primary-expression before ')' token
           dfs(k+);
                 ^
0_0_33676435_20538.cpp:54:19: error: expected primary-expression before ';' token
           a[x][y]=;
                   ^
0_0_33676435_20538.cpp: In function 'int main()':
0_0_33676435_20538.cpp:61:7: error: expected primary-expression before ';' token
     p=;
       ^
0_0_33676435_20538.cpp:64:12: error: expected primary-expression before ';' token
         l=-;
            ^
0_0_33676435_20538.cpp:65:15: error: expected primary-expression before ';' token
         for(i=;i<;i++)
               ^
0_0_33676435_20538.cpp:65:18: error: expected primary-expression before ';' token
         for(i=;i<;i++)
                  ^
0_0_33676435_20538.cpp:66:19: error: expected primary-expression before ';' token
             for(j=;j<;j++)
                   ^
0_0_33676435_20538.cpp:66:22: error: expected primary-expression before ';' token
             for(j=;j<;j++)
                      ^
0_0_33676435_20538.cpp:68:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
             if (i== && j==)
                        ^
0_0_33676435_20538.cpp:68:27: error: expected primary-expression before ')' token
             if (i== && j==)
                           ^
0_0_33676435_20538.cpp:70:23: error: expected primary-expression before ']' token
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                       ^
0_0_33676435_20538.cpp:70:34: error: expected primary-expression before ']' token
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                  ^
0_0_33676435_20538.cpp:70:41: error: 'a' was not declared in this scope
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                         ^
0_0_33676435_20538.cpp:70:52: error: expected primary-expression before ']' token
                 if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                                    ^
0_0_33676435_20538.cpp:73:22: error: 'a' was not declared in this scope
                      a[i][j]=;
                      ^
0_0_33676435_20538.cpp:73:30: error: expected primary-expression before ';' token
                      a[i][j]=;
                              ^
0_0_33676435_20538.cpp:80:19: error: expected primary-expression before ']' token
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                   ^
0_0_33676435_20538.cpp:80:30: error: expected primary-expression before ']' token
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                              ^
0_0_33676435_20538.cpp:80:37: error: 'a' was not declared in this scope
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                     ^
0_0_33676435_20538.cpp:80:48: error: expected primary-expression before ']' token
             if(ch[]>'' && ch[]<='') a[i][j]=ch[]-'';
                                                ^
0_0_33676435_20538.cpp:83:18: error: 'a' was not declared in this scope
                  a[i][j]=;
                  ^
0_0_33676435_20538.cpp:83:26: error: expected primary-expression before ';' token
                  a[i][j]=;
                          ^
0_0_33676435_20538.cpp:88:11: error: expected primary-expression before ';' token
      flag=;
           ^
0_0_33676435_20538.cpp:89:10: error: too few arguments to function 'void dfs(int)'
      dfs();
          ^
0_0_33676435_20538.cpp:37:6: note: declared here
 void dfs(int k)
      ^
0_0_33676435_20538.cpp:92:12: error: expected primary-expression before ';' token
      for(i=;i<;i++)
            ^
0_0_33676435_20538.cpp:92:15: error: expected primary-expression before ';' token
      for(i=;i<;i++)
               ^
0_0_33676435_20538.cpp:94:17: error: expected primary-expression before ';' token
           for(j=;j<;j++)
                 ^
0_0_33676435_20538.cpp:94:20: error: expected primary-expression before ';' token
           for(j=;j<;j++)
                    ^
0_0_33676435_20538.cpp:95:27: error: 'a' was not declared in this scope
              printf("%d ",a[i][j]);
                           ^
0_0_33676435_20538.cpp:96:28: error: 'a' was not declared in this scope
              printf("%d\n",a[i][]);
                            ^
0_0_33676435_20538.cpp:96:33: error: expected primary-expression before ']' token
              printf("%d\n",a[i][]);
                                 ^
0_0_33676435_20538.cpp:100:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return ;
     ^
0_0_33676435_20538.cpp:68:24: error: label 'j' used but not defined
             if (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-16 18:18:28, Gzip enabled