0_0_20986617_12279.cpp:16:26: error: stray '#' in program
q.push(s);num[s]=cnt++;
^
0_0_20986617_12279.cpp:16:31: error: stray '#' in program
q.push(s);num[s]=cnt++;
^
0_0_20986617_12279.cpp:19:28: error: stray '#' in program
for(int i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:19:33: error: stray '#' in program
for(int i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:21:24: error: stray '#' in program
int t=(tmp+i)%n;
^
0_0_20986617_12279.cpp:23:38: error: stray '#' in program
q.push(t);num[t]=cnt++;
^
0_0_20986617_12279.cpp:23:43: error: stray '#' in program
q.push(t);num[t]=cnt++;
^
0_0_20986617_12279.cpp:31:30: error: stray '#' in program
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:35: error: stray '#' in program
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:42: error: stray '#' in program
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:47: error: stray '#' in program
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:33:17: error: stray '#' in program
for(i=f+1;i<fn;i++)
^
0_0_20986617_12279.cpp:33:30: error: stray '#' in program
for(i=f+1;i<fn;i++)
^
0_0_20986617_12279.cpp:33:35: error: stray '#' in program
for(i=f+1;i<fn;i++)
^
0_0_20986617_12279.cpp:38:28: error: stray '#' in program
for(j=x;j<xn;j++)
^
0_0_20986617_12279.cpp:38:33: error: stray '#' in program
for(j=x;j<xn;j++)
^
0_0_20986617_12279.cpp:43:17: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:43:30: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:43:35: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:46:24: error: stray '#' in program
for(i=0;i<fn;i++){
^
0_0_20986617_12279.cpp:46:29: error: stray '#' in program
for(i=0;i<fn;i++){
^
0_0_20986617_12279.cpp:49:25: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:49:38: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:49:43: error: stray '#' in program
for(j=x+1;j<xn;j++)
^
0_0_20986617_12279.cpp:63:24: error: stray '#' in program
for(i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:63:29: error: stray '#' in program
for(i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:81:27: error: stray '#' in program
for(int i=0;i<n;i++){
^
0_0_20986617_12279.cpp:81:32: error: stray '#' in program
for(int i=0;i<n;i++){
^
0_0_20986617_12279.cpp:89:36: error: stray '#' in program
for(int j=1;j<=m;j++){
^
0_0_20986617_12279.cpp:89:41: error: stray '#' in program
for(int j=1;j<=m;j++){
^
0_0_20986617_12279.cpp:90:30: error: stray '#' in program
int t=(i+j)%n;
^
0_0_20986617_12279.cpp:93:33: error: stray '#' in program
ans[num[i]]+=p[j]*j;
^
0_0_20986617_12279.cpp: In function 'int bfs(int)':
0_0_20986617_12279.cpp:16:32: error: lvalue required as unary '&' operand
q.push(s);num[s]=cnt++;
^
0_0_20986617_12279.cpp:19:31: error: expected ')' before ';' token
for(int i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:19:34: error: lvalue required as unary '&' operand
for(int i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:19:37: error: expected primary-expression before ')' token
for(int i=1;i<=m;i++){
^
0_0_20986617_12279.cpp: In function 'int gaos()':
0_0_20986617_12279.cpp:31:33: error: expected ')' before ';' token
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:36: error: lvalue required as unary '&' operand
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:39: error: expected primary-expression before ',' token
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:48: error: lvalue required as unary '&' operand
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp:31:51: error: expected primary-expression before ')' token
for(f=0,x=0;f<fn&&x<xn;f++,x++){
^
0_0_20986617_12279.cpp: In function 'int main()':
0_0_20986617_12279.cpp:63:27: error: expected ')' before ';' token
for(i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:63:30: error: lvalue required as unary '&' operand
for(i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:63:33: error: expected primary-expression before ')' token
for(i=1;i<=m;i++){
^
0_0_20986617_12279.cpp:81:30: error: expected ')' before ';' token
for(int i=0;i<n;i++){
^
0_0_20986617_12279.cpp:81:33: error: lvalue required as unary '&' operand
for(int i=0;i<n;i++){
^
0_0_20986617_12279.cpp:81:36: error: expected primary-expression before ')' token
for(int i=0;i<n;i++){
^
|