0_0_20982988_6146.cpp:9:20: error: stray '#' in program
const int N = 1e4 + 5;
^
0_0_20982988_6146.cpp:20:23: error: stray '#' in program
for(int x=1;x<k;x++)
^
0_0_20982988_6146.cpp:20:28: error: stray '#' in program
for(int x=1;x<k;x++)
^
0_0_20982988_6146.cpp:24:24: error: stray '#' in program
for(int l=1;;l++)
^
0_0_20982988_6146.cpp:24:29: error: stray '#' in program
for(int l=1;;l++)
^
0_0_20982988_6146.cpp:26:37: error: stray '#' in program
cur_mod = (cur_mod * k + x) % n;
^
0_0_20982988_6146.cpp:52:27: error: stray '#' in program
for(int i=0;i<2;i++)
^
0_0_20982988_6146.cpp:52:32: error: stray '#' in program
for(int i=0;i<2;i++)
^
0_0_20982988_6146.cpp:56:33: error: stray '#' in program
int nxt = (cur * k + num[i]) % n;
^
0_0_20982988_6146.cpp:61:35: error: stray '#' in program
ansAt[nxt] = '0' + num[i];
^
0_0_20982988_6146.cpp:84:14: error: stray '#' in program
sol += ansAt[p];
^
0_0_20982988_6146.cpp:93:23: error: stray '#' in program
for(int i=0;i<k;i++)
^
0_0_20982988_6146.cpp:93:28: error: stray '#' in program
for(int i=0;i<k;i++)
^
0_0_20982988_6146.cpp:94:21: error: stray '#' in program
for(int j=i+1;j<k;j++)
^
0_0_20982988_6146.cpp:94:33: error: stray '#' in program
for(int j=i+1;j<k;j++)
^
0_0_20982988_6146.cpp:94:38: error: stray '#' in program
for(int j=i+1;j<k;j++)
^
0_0_20982988_6146.cpp:9:21: error: invalid operands of types 'double' and 'int' to binary 'operator&'
const int N = 1e4 + 5;
^
0_0_20982988_6146.cpp:9:25: error: expected unqualified-id before numeric constant
const int N = 1e4 + 5;
^
0_0_20982988_6146.cpp:15:11: error: size of array 'vis' is not an integral constant-expression
bool vis[N];
^
0_0_20982988_6146.cpp: In function 'std::pair<int, int> bfs1()':
0_0_20982988_6146.cpp:20:26: error: expected ')' before ';' token
for(int x=1;x<k;x++)
^
0_0_20982988_6146.cpp:20:29: error: lvalue required as unary '&' operand
for(int x=1;x<k;x++)
^
0_0_20982988_6146.cpp:20:32: error: expected primary-expression before ')' token
for(int x=1;x<k;x++)
^
0_0_20982988_6146.cpp: At global scope:
0_0_20982988_6146.cpp:40:10: error: size of array 'pre' is not an integral constant-expression
int pre[N];
^
0_0_20982988_6146.cpp:42:13: error: size of array 'ansAt' is not an integral constant-expression
char ansAt[N];
^
0_0_20982988_6146.cpp: In function 'bool legal(int, int)':
0_0_20982988_6146.cpp:52:30: error: expected ')' before ';' token
for(int i=0;i<2;i++)
^
0_0_20982988_6146.cpp:52:33: error: lvalue required as unary '&' operand
for(int i=0;i<2;i++)
^
0_0_20982988_6146.cpp:52:36: error: expected primary-expression before ')' token
for(int i=0;i<2;i++)
^
0_0_20982988_6146.cpp: In function 'void get_ans()':
0_0_20982988_6146.cpp:84:13: error: no match for 'operator&' (operand types are 'std::string {aka std::basic_string<char>}' and 'int')
sol += ansAt[p];
^
0_0_20982988_6146.cpp:84:18: error: expected primary-expression before '=' token
sol += ansAt[p];
^
0_0_20982988_6146.cpp: In function 'std::string bfs2()':
0_0_20982988_6146.cpp:93:26: error: expected ')' before ';' token
for(int i=0;i<k;i++)
^
0_0_20982988_6146.cpp:93:29: error: lvalue required as unary '&' operand
for(int i=0;i<k;i++)
^
0_0_20982988_6146.cpp:93:32: error: expected primary-expression before ')' token
for(int i=0;i<k;i++)
^
0_0_20982988_6146.cpp:94:27: error: 'j' was not declared in this scope
for(int j=i+1;j<k;j++)
^
0_0_20982988_6146.cpp:94:39: error: lvalue required as unary '&' operand
for(int j=i+1;j<k;j++)
^
0_0_20982988_6146.cpp:94:42: error: expected primary-expression before ')' token
for(int j=i+1;j<k;j++)
^
|