0_0_6420078_32703\Main.java:1: illegal character: \35
#include <cstdio>
^
0_0_6420078_32703\Main.java:2: illegal character: \35
#include <cstring>
^
0_0_6420078_32703\Main.java:3: illegal character: \35
#include <algorithm>
^
0_0_6420078_32703\Main.java:7: class, interface, or enum expected
typedef long long LL;
^
0_0_6420078_32703\Main.java:9: class, interface, or enum expected
LL pw[1000010];
^
0_0_6420078_32703\Main.java:11: class, interface, or enum expected
const LL P=10007;
^
0_0_6420078_32703\Main.java:13: class, interface, or enum expected
void build()
^
0_0_6420078_32703\Main.java:16: class, interface, or enum expected
for (int i=1;i<=1000000;i++)
^
0_0_6420078_32703\Main.java:16: class, interface, or enum expected
for (int i=1;i<=1000000;i++)
^
0_0_6420078_32703\Main.java:16: class, interface, or enum expected
for (int i=1;i<=1000000;i++)
^
0_0_6420078_32703\Main.java:19: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:26: class, interface, or enum expected
int lowbit(int t)
^
0_0_6420078_32703\Main.java:29: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:33: class, interface, or enum expected
void init(int n)
^
0_0_6420078_32703\Main.java:36: class, interface, or enum expected
for (int i=0;i<=N;i++) c[i]=0;
^
0_0_6420078_32703\Main.java:36: class, interface, or enum expected
for (int i=0;i<=N;i++) c[i]=0;
^
0_0_6420078_32703\Main.java:36: class, interface, or enum expected
for (int i=0;i<=N;i++) c[i]=0;
^
0_0_6420078_32703\Main.java:37: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:41: class, interface, or enum expected
for (int i=x;i<=N;i+=lowbit(i))
^
0_0_6420078_32703\Main.java:41: class, interface, or enum expected
for (int i=x;i<=N;i+=lowbit(i))
^
0_0_6420078_32703\Main.java:44: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:50: class, interface, or enum expected
for (int i=x;i>0;i-=lowbit(i))
^
0_0_6420078_32703\Main.java:50: class, interface, or enum expected
for (int i=x;i>0;i-=lowbit(i))
^
0_0_6420078_32703\Main.java:50: class, interface, or enum expected
for (int i=x;i>0;i-=lowbit(i))
^
0_0_6420078_32703\Main.java:53: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:55: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:60: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:63: class, interface, or enum expected
TreeArray A,B;
^
0_0_6420078_32703\Main.java:65: class, interface, or enum expected
int l1,l2;
^
0_0_6420078_32703\Main.java:66: class, interface, or enum expected
char strA[1000010],strB[1000010];
^
0_0_6420078_32703\Main.java:68: class, interface, or enum expected
void init()
^
0_0_6420078_32703\Main.java:71: class, interface, or enum expected
int len=strlen(strA);
^
0_0_6420078_32703\Main.java:72: class, interface, or enum expected
l1=len;
^
0_0_6420078_32703\Main.java:73: class, interface, or enum expected
A.init(len);
^
0_0_6420078_32703\Main.java:74: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:74: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:74: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:77: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:80: class, interface, or enum expected
len=strlen(strB);
^
0_0_6420078_32703\Main.java:81: class, interface, or enum expected
l2=len;
^
0_0_6420078_32703\Main.java:82: class, interface, or enum expected
B.init(len);
^
0_0_6420078_32703\Main.java:83: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:83: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:83: class, interface, or enum expected
for (int i=0;i<len;i++)
^
0_0_6420078_32703\Main.java:86: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:92: class, interface, or enum expected
int ans=-1;
^
0_0_6420078_32703\Main.java:93: class, interface, or enum expected
while (low<=high)
^
0_0_6420078_32703\Main.java:96: class, interface, or enum expected
if (A.sum(index+1,mid+1)==B.sum(index+1,mid+1))
^
0_0_6420078_32703\Main.java:99: class, interface, or enum expected
ans=mid;
^
0_0_6420078_32703\Main.java:100: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:102: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:104: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:109: class, interface, or enum expected
scanf("%d",&Q);
^
0_0_6420078_32703\Main.java:110: class, interface, or enum expected
for (int i=1;i<=Q;i++)
^
0_0_6420078_32703\Main.java:110: class, interface, or enum expected
for (int i=1;i<=Q;i++)
^
0_0_6420078_32703\Main.java:110: class, interface, or enum expected
for (int i=1;i<=Q;i++)
^
0_0_6420078_32703\Main.java:113: class, interface, or enum expected
scanf("%d",&cmd);
^
0_0_6420078_32703\Main.java:114: class, interface, or enum expected
if (cmd==1)
^
0_0_6420078_32703\Main.java:117: class, interface, or enum expected
char c[5];
^
0_0_6420078_32703\Main.java:118: class, interface, or enum expected
scanf("%d%d%s",&a,&I,c);
^
0_0_6420078_32703\Main.java:119: class, interface, or enum expected
if (a==1)
^
0_0_6420078_32703\Main.java:122: class, interface, or enum expected
strA[I]=c[0];
^
0_0_6420078_32703\Main.java:123: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:127: class, interface, or enum expected
strB[I]=c[0];
^
0_0_6420078_32703\Main.java:128: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:133: class, interface, or enum expected
scanf("%d",&a);
^
0_0_6420078_32703\Main.java:134: class, interface, or enum expected
int ans=getLen(a);
^
0_0_6420078_32703\Main.java:135: class, interface, or enum expected
if (ans==-1) puts("0");
^
0_0_6420078_32703\Main.java:136: class, interface, or enum expected
else printf("%d\n",ans-a+1);
^
0_0_6420078_32703\Main.java:137: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:144: class, interface, or enum expected
int T;
^
0_0_6420078_32703\Main.java:145: class, interface, or enum expected
scanf("%d",&T);
^
0_0_6420078_32703\Main.java:146: class, interface, or enum expected
for (int i=1;i<=T;i++)
^
0_0_6420078_32703\Main.java:146: class, interface, or enum expected
for (int i=1;i<=T;i++)
^
0_0_6420078_32703\Main.java:146: class, interface, or enum expected
for (int i=1;i<=T;i++)
^
0_0_6420078_32703\Main.java:149: class, interface, or enum expected
init();
^
0_0_6420078_32703\Main.java:150: class, interface, or enum expected
work();
^
0_0_6420078_32703\Main.java:151: class, interface, or enum expected
}
^
0_0_6420078_32703\Main.java:153: class, interface, or enum expected
}
^
79 errors
|