0_0_29849372_13290.cpp: In function 'int main()':
0_0_29849372_13290.cpp:70:10: error: 'm' was not declared in this scope
if(k < m || k > m2) { printf("-1\n"); continue; }
^
0_0_29849372_13290.cpp:73:49: error: invalid conversion from 'int*' to 'int' [-fpermissive]
for(int j = 0; j < 26; ++j) nxt[i][j] = cur[j];
^
0_0_29849372_13290.cpp:74:14: error: incompatible types in assignment of 'int' to 'int [26]'
cur[s[i]] = i;
^
0_0_29849372_13290.cpp:82:18: error: invalid conversion from 'int*' to 'int' [-fpermissive]
if(check(cur[i])){
^
0_0_29849372_13290.cpp:43:5: note: initializing argument 1 of 'int check(int)'
int check(int x){
^
0_0_29849372_13290.cpp:86:15: error: invalid conversion from 'int*' to 'int' [-fpermissive]
sp = cur[i];
^
|