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_20986485_831.cpp:4:18: error: '#' is not followed by a macro parameter
 #define FOR(i,a,b) for(int i=a;i<=b;++i)
                  ^
0_0_20986485_831.cpp:7:18: error: stray '#' in program
 const int mm=1e5+9;
                  ^
0_0_20986485_831.cpp:12:23: error: stray '#' in program
   while(~scanf("%s",s+1))
                       ^
0_0_20986485_831.cpp:14:18: error: stray '#' in program
     len=strlen(s+1);
                  ^
0_0_20986485_831.cpp:20:26: error: stray '#' in program
       while(j&&s[i]!=t[j+1])j=f[j];///Õý³£Æ¥Åä
                          ^
0_0_20986485_831.cpp:21:20: error: stray '#' in program
       if(s[i]==t[j+1])++j;
                    ^
0_0_20986485_831.cpp:21:28: error: stray '#' in program
       if(s[i]==t[j+1])++j;
                            ^
0_0_20986485_831.cpp:21:33: error: stray '#' in program
       if(s[i]==t[j+1])++j;
                                 ^
0_0_20986485_831.cpp:25:20: error: stray '#' in program
         FOR(k,last+1,i)
                    ^
0_0_20986485_831.cpp:27:14: error: stray '#' in program
           t[++pos]=s[k];
              ^
0_0_20986485_831.cpp:27:19: error: stray '#' in program
           t[++pos]=s[k];
                   ^
0_0_20986485_831.cpp:28:32: error: stray '#' in program
           while(p&&t[pos]!=t[p+1])p=f[p];///ÕÒÆ¥Åä
                                ^
0_0_20986485_831.cpp:29:26: error: stray '#' in program
           if(t[pos]==t[p+1])f[pos]=p+1;
                          ^
0_0_20986485_831.cpp:29:42: error: stray '#' in program
           if(t[pos]==t[p+1])f[pos]=p+1;
                                          ^
0_0_20986485_831.cpp:36:30: error: stray '#' in program
     printf("Case %d: %d\n", ++cas,len+pos-last);
                              ^
0_0_20986485_831.cpp:36:35: error: stray '#' in program
     printf("Case %d: %d\n", ++cas,len+pos-last);
                                   ^
0_0_20986485_831.cpp:36:47: error: stray '#' in program
     printf("Case %d: %d\n", ++cas,len+pos-last);
                                               ^
0_0_20986485_831.cpp:7:19: error: invalid operands of types 'double' and 'int' to binary 'operator&'
 const int mm=1e5+9;
                   ^
0_0_20986485_831.cpp:7:22: error: expected unqualified-id before numeric constant
 const int mm=1e5+9;
                      ^
0_0_20986485_831.cpp:8:10: error: size of array 's' is not an integral constant-expression
 char s[mm],t[mm];
          ^
0_0_20986485_831.cpp:8:16: error: size of array 't' is not an integral constant-expression
 char s[mm],t[mm];
                ^
0_0_20986485_831.cpp:9:9: error: size of array 'f' is not an integral constant-expression
 int f[mm];
         ^
0_0_20986485_831.cpp: In function 'int main()':
0_0_20986485_831.cpp:12:24: error: invalid operands of types 'char [1]' and 'int' to binary 'operator&'
   while(~scanf("%s",s+1))
                        ^
0_0_20986485_831.cpp:12:26: error: expected ')' before ';' token
   while(~scanf("%s",s+1))
                          ^
0_0_20986485_831.cpp:12:28: error: expected ';' before ')' token
   while(~scanf("%s",s+1))
                            ^
0_0_20986485_831.cpp:38:1: error: expected '}' at end of input
 }
 ^


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-30 05:07:07, Gzip enabled