Main.cpp: In function 'int main()':
Main.cpp:6:3: error: 'vecctor' was not declared in this scope
6 | vecctor<int> pos(26, -1), poss(26);
| ^~~~~~~
Main.cpp:6:11: error: expected primary-expression before 'int'
6 | vecctor<int> pos(26, -1), poss(26);
| ^~~
Main.cpp:9:5: error: 'pos' was not declared in this scope; did you mean 'pow'?
9 | pos[c-'a']=i;
| ^~~
| pow
Main.cpp:12:26: error: 'poss' was not declared in this scope
12 | for(int i=0; i<n; i++) poss[s[i]-'a']=i;
| ^~~~
Main.cpp:14:8: error: 'pos' was not declared in this scope; did you mean 'pow'?
14 | if(pos[i]==-1) continue;
| ^~~
| pow
Main.cpp:15:14: error: 'pos' was not declared in this scope; did you mean 'pow'?
15 | ans+=abs(pos[i]-poss[i]);
| ^~~
| pow
Main.cpp:15:21: error: 'poss' was not declared in this scope
15 | ans+=abs(pos[i]-poss[i]);
| ^~~~