0_0_17593358_7216.cpp:3:1: error: '_int64' does not name a type
_int64 a[1000005],b[10005],next[10005],nextval[10005];
^
0_0_17593358_7216.cpp: In function 'int main()':
0_0_17593358_7216.cpp:10:3: error: '_int64' was not declared in this scope
_int64 N,M,i,j;
^
0_0_17593358_7216.cpp:11:10: error: expected ';' before 'get_nextval'
_int64 get_nextval(_int64 n,_int64 i);
^
0_0_17593358_7216.cpp:12:10: error: expected ';' before 'get_next'
_int64 get_next(_int64 n,_int64 i);
^
0_0_17593358_7216.cpp:13:23: error: 'N' was not declared in this scope
scanf("%I64d%I64d",&N,&M);
^
0_0_17593358_7216.cpp:13:26: error: 'M' was not declared in this scope
scanf("%I64d%I64d",&N,&M);
^
0_0_17593358_7216.cpp:15:7: error: 'i' was not declared in this scope
for(i=0;i<N;i++)
^
0_0_17593358_7216.cpp:16:19: error: 'a' was not declared in this scope
scanf("%I64d",&a[i]);
^
0_0_17593358_7216.cpp:18:7: error: 'j' was not declared in this scope
for(j=0;j<M;j++)
^
0_0_17593358_7216.cpp:19:19: error: 'b' was not declared in this scope
scanf("%I64d",&b[j]);
^
0_0_17593358_7216.cpp:20:3: error: 'next' was not declared in this scope
next[0]=nextval[0]=-1;
^
0_0_17593358_7216.cpp:20:11: error: 'nextval' was not declared in this scope
next[0]=nextval[0]=-1;
^
0_0_17593358_7216.cpp:22:7: error: 'i' was not declared in this scope
for(i=1;i<M;i++)
^
0_0_17593358_7216.cpp:23:32: error: 'get_next' was not declared in this scope
next[i]=get_next(next[i-1],i);
^
0_0_17593358_7216.cpp:26:7: error: 'i' was not declared in this scope
for(i=1;i<M;i++)
^
0_0_17593358_7216.cpp:28:38: error: 'get_nextval' was not declared in this scope
nextval[i]=get_nextval(next[i-1],i);
^
0_0_17593358_7216.cpp:38:7: error: 'j' was not declared in this scope
for(j=0,i=0;i<N;)
^
0_0_17593358_7216.cpp:38:11: error: 'i' was not declared in this scope
for(j=0,i=0;i<N;)
^
0_0_17593358_7216.cpp:40:14: error: 'a' was not declared in this scope
if(j==-1||a[i]==b[j])
^
0_0_17593358_7216.cpp:40:20: error: 'b' was not declared in this scope
if(j==-1||a[i]==b[j])
^
0_0_17593358_7216.cpp:53:6: error: 'j' was not declared in this scope
if(j!=M)
^
0_0_17593358_7216.cpp: At global scope:
0_0_17593358_7216.cpp:57:1: error: '_int64' does not name a type
_int64 get_next(_int64 n,_int64 i)
^
0_0_17593358_7216.cpp:65:1: error: '_int64' does not name a type
_int64 get_nextval(_int64 n,_int64 i)
^
|