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_37385289_20451.cpp:7:9: error: storage size of 'a' isn't known
  char a[];
         ^
0_0_37385289_20451.cpp: In function 'int vowels()':
0_0_37385289_20451.cpp:13:12: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
            ^
0_0_37385289_20451.cpp:13:19: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
                   ^
0_0_37385289_20451.cpp:15:15: error: expected primary-expression before ';' token
          flag=;
               ^
0_0_37385289_20451.cpp:16:16: error: expected primary-expression before ';' token
          for(j=;j<;j++)
                ^
0_0_37385289_20451.cpp:16:19: error: expected primary-expression before ';' token
          for(j=;j<;j++)
                   ^
0_0_37385289_20451.cpp:18:20: error: expected primary-expression before ';' token
              for(k=;k<;k++)
                    ^
0_0_37385289_20451.cpp:18:23: error: expected primary-expression before ';' token
              for(k=;k<;k++)
                       ^
0_0_37385289_20451.cpp:27:19: error: expected primary-expression before ')' token
          if(flag==)
                   ^
0_0_37385289_20451.cpp:28:14: error: return-statement with no value, in function returning 'int' [-fpermissive]
              return ;
              ^
0_0_37385289_20451.cpp:30:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^
0_0_37385289_20451.cpp: In function 'int consonants()':
0_0_37385289_20451.cpp:36:12: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
            ^
0_0_37385289_20451.cpp:36:19: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
                   ^
0_0_37385289_20451.cpp:38:15: error: expected primary-expression before ';' token
          flag=;
               ^
0_0_37385289_20451.cpp:39:16: error: expected primary-expression before ';' token
          for(j=;j<;j++)
                ^
0_0_37385289_20451.cpp:39:19: error: expected primary-expression before ';' token
          for(j=;j<;j++)
                   ^
0_0_37385289_20451.cpp:41:20: error: expected primary-expression before ';' token
              for(k=;k<;k++)
                    ^
0_0_37385289_20451.cpp:41:23: error: expected primary-expression before ';' token
              for(k=;k<;k++)
                       ^
0_0_37385289_20451.cpp:50:19: error: expected primary-expression before ')' token
          if(flag==)
                   ^
0_0_37385289_20451.cpp:51:14: error: return-statement with no value, in function returning 'int' [-fpermissive]
              return ;
              ^
0_0_37385289_20451.cpp:53:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^
0_0_37385289_20451.cpp: In function 'int consecutive_occurrences()':
0_0_37385289_20451.cpp:59:12: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
            ^
0_0_37385289_20451.cpp:59:19: error: expected primary-expression before ';' token
      for(i=;i<len-;i++)
                   ^
0_0_37385289_20451.cpp:61:15: error: expected primary-expression before ';' token
          flag=;
               ^
0_0_37385289_20451.cpp:62:23: error: expected primary-expression before ']' token
          if(a[i]==a[i+])
                       ^
0_0_37385289_20451.cpp:64:20: error: expected primary-expression before ';' token
              for(j=;j<;j++)
                    ^
0_0_37385289_20451.cpp:64:23: error: expected primary-expression before ';' token
              for(j=;j<;j++)
                       ^
0_0_37385289_20451.cpp:67:27: error: expected primary-expression before ';' token
                      flag=;
                           ^
0_0_37385289_20451.cpp:72:14: error: return-statement with no value, in function returning 'int' [-fpermissive]
              return ;
              ^
0_0_37385289_20451.cpp:74:6: error: return-statement with no value, in function returning 'int' [-fpermissive]
      return ;
      ^
0_0_37385289_20451.cpp: In function 'int main()':
0_0_37385289_20451.cpp:82:26: error: expected primary-expression before ')' token
          if(strcmp(a,b)==)
                          ^
0_0_37385289_20451.cpp:85:16: error: expected primary-expression before ';' token
          int k=;
                ^
0_0_37385289_20451.cpp:92:16: error: expected primary-expression before ')' token
          if(k==)
                ^
0_0_37385289_20451.cpp:96:19: error: expected primary-expression before ',' token
          memset(a,,sizeof(a));
                   ^


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-25 15:27:49, Gzip enabled