0_0_30012983_16036.cpp: In function 'int main()': 0_0_30012983_16036.cpp:94:13: error: 'pos' was not declared in this scope pos[w]=i; ^