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_23058120_1986.cpp:36:22: error: stray '#' in program
 #define CI const int #define cint const int &
                      ^
0_0_23058120_1986.cpp:61:1: note: in expansion of macro 'CI'
 CI pr=31; CI mL=1<<20;
 ^
0_0_23058120_1986.cpp:36:22: error: stray '#' in program
 #define CI const int #define cint const int &
                      ^
0_0_23058120_1986.cpp:61:11: note: in expansion of macro 'CI'
 CI pr=31; CI mL=1<<20;
           ^
0_0_23058120_1986.cpp:36:30: error: expected initializer before 'cint'
 #define CI const int #define cint const int &
                              ^
0_0_23058120_1986.cpp:61:1: note: in expansion of macro 'CI'
 CI pr=31; CI mL=1<<20;
 ^
0_0_23058120_1986.cpp:36:30: error: expected initializer before 'cint'
 #define CI const int #define cint const int &
                              ^
0_0_23058120_1986.cpp:61:11: note: in expansion of macro 'CI'
 CI pr=31; CI mL=1<<20;
           ^
0_0_23058120_1986.cpp:62:9: error: 'mL' was not declared in this scope
 char s1[mL], s2[mL];
         ^
0_0_23058120_1986.cpp:62:17: error: 'mL' was not declared in this scope
 char s1[mL], s2[mL];
                 ^
0_0_23058120_1986.cpp:64:8: error: 'mL' was not declared in this scope
 int gv[mL], len[mL<<2];
        ^
0_0_23058120_1986.cpp:64:17: error: 'mL' was not declared in this scope
 int gv[mL], len[mL<<2];
                 ^
0_0_23058120_1986.cpp:65:7: error: 'mL' was not declared in this scope
 ll t1[mL<<2], t2[mL<<2], p[mL];
       ^
0_0_23058120_1986.cpp:65:18: error: 'mL' was not declared in this scope
 ll t1[mL<<2], t2[mL<<2], p[mL];
                  ^
0_0_23058120_1986.cpp:65:28: error: 'mL' was not declared in this scope
 ll t1[mL<<2], t2[mL<<2], p[mL];
                            ^
0_0_23058120_1986.cpp: In function 'void bld(int, int, int)':
0_0_23058120_1986.cpp:68:2: error: 'len' was not declared in this scope
  len[v]=r-l+1;
  ^
0_0_23058120_1986.cpp:71:3: error: 'gv' was not declared in this scope
   gv[l]=v;
   ^
0_0_23058120_1986.cpp:72:3: error: 't1' was not declared in this scope
   t1[v]=s1[l];
   ^
0_0_23058120_1986.cpp:72:9: error: 's1' was not declared in this scope
   t1[v]=s1[l];
         ^
0_0_23058120_1986.cpp:73:3: error: 't2' was not declared in this scope
   t2[v]=s2[l];
   ^
0_0_23058120_1986.cpp:73:9: error: 's2' was not declared in this scope
   t2[v]=s2[l];
         ^
0_0_23058120_1986.cpp:79:2: error: 't1' was not declared in this scope
  t1[v]=t1[v+v]+t1[v+v+1]*p[len[v+v]];
  ^
0_0_23058120_1986.cpp:79:26: error: 'p' was not declared in this scope
  t1[v]=t1[v+v]+t1[v+v+1]*p[len[v+v]];
                          ^
0_0_23058120_1986.cpp:80:2: error: 't2' was not declared in this scope
  t2[v]=t2[v+v]+t2[v+v+1]*p[len[v+v]];
  ^
0_0_23058120_1986.cpp: In function 'void upd1(int, int, int, int, char)':
0_0_23058120_1986.cpp:86:3: error: 't1' was not declared in this scope
   t1[v]=c;
   ^
0_0_23058120_1986.cpp:92:2: error: 't1' was not declared in this scope
  t1[v]=t1[v+v]+t1[v+v+1]*p[len[v+v]];
  ^
0_0_23058120_1986.cpp:92:26: error: 'p' was not declared in this scope
  t1[v]=t1[v+v]+t1[v+v+1]*p[len[v+v]];
                          ^
0_0_23058120_1986.cpp:92:28: error: 'len' was not declared in this scope
  t1[v]=t1[v+v]+t1[v+v+1]*p[len[v+v]];
                            ^
0_0_23058120_1986.cpp: In function 'void upd2(int, int, int, int, char)':
0_0_23058120_1986.cpp:98:3: error: 't2' was not declared in this scope
   t2[v]=c;
   ^
0_0_23058120_1986.cpp:104:2: error: 't2' was not declared in this scope
  t2[v]=t2[v+v]+t2[v+v+1]*p[len[v+v]];
  ^
0_0_23058120_1986.cpp:104:26: error: 'p' was not declared in this scope
  t2[v]=t2[v+v]+t2[v+v+1]*p[len[v+v]];
                          ^
0_0_23058120_1986.cpp:104:28: error: 'len' was not declared in this scope
  t2[v]=t2[v+v]+t2[v+v+1]*p[len[v+v]];
                            ^
0_0_23058120_1986.cpp: In function 'int diff(int)':
0_0_23058120_1986.cpp:108:6: error: 'len' was not declared in this scope
  if (len[v]==1) return t1[v]==t2[v];
      ^
0_0_23058120_1986.cpp:108:24: error: 't1' was not declared in this scope
  if (len[v]==1) return t1[v]==t2[v];
                        ^
0_0_23058120_1986.cpp:108:31: error: 't2' was not declared in this scope
  if (len[v]==1) return t1[v]==t2[v];
                               ^
0_0_23058120_1986.cpp:109:6: error: 't1' was not declared in this scope
  if (t1[v+v]==t2[v+v]) return len[v+v]+diff(v+v+1);
      ^
0_0_23058120_1986.cpp:109:15: error: 't2' was not declared in this scope
  if (t1[v+v]==t2[v+v]) return len[v+v]+diff(v+v+1);
               ^
0_0_23058120_1986.cpp:109:31: error: 'len' was not declared in this scope
  if (t1[v+v]==t2[v+v]) return len[v+v]+diff(v+v+1);
                               ^
0_0_23058120_1986.cpp: In function 'int get(int, int)':
0_0_23058120_1986.cpp:117:6: error: 't1' was not declared in this scope
  if (t1[r]==t2[r]) return get(v/2, cl-len[r]);
      ^
0_0_23058120_1986.cpp:117:13: error: 't2' was not declared in this scope
  if (t1[r]==t2[r]) return get(v/2, cl-len[r]);
             ^
0_0_23058120_1986.cpp:117:39: error: 'len' was not declared in this scope
  if (t1[r]==t2[r]) return get(v/2, cl-len[r]);
                                       ^
0_0_23058120_1986.cpp: In function 'int main()':
0_0_23058120_1986.cpp:128:3: error: 'p' was not declared in this scope
   p[0]=1;
   ^
0_0_23058120_1986.cpp:129:45: error: 'pr' was not declared in this scope
   for (int i=1; i<(1<<20); i++) p[i]=p[i-1]*pr;
                                             ^
0_0_23058120_1986.cpp:130:8: error: 's1' was not declared in this scope
   gets(s1);
        ^
0_0_23058120_1986.cpp:131:8: error: 's2' was not declared in this scope
   gets(s2);
        ^
0_0_23058120_1986.cpp:151:24: error: 'gv' was not declared in this scope
     printf("%d\n", get(gv[i], t1[gv[i]]==t2[gv[i]] ? -1 : 0));
                        ^
0_0_23058120_1986.cpp:151:31: error: 't1' was not declared in this scope
     printf("%d\n", get(gv[i], t1[gv[i]]==t2[gv[i]] ? -1 : 0));
                               ^
0_0_23058120_1986.cpp:151:42: error: 't2' was not declared in this scope
     printf("%d\n", get(gv[i], t1[gv[i]]==t2[gv[i]] ? -1 : 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-07-18 16:08:48, Gzip enabled