0_0_20547392_15140.cpp: In function 'int main()': 0_0_20547392_15140.cpp:40:22: error: 'i' was not declared in this scope int ans = num[find(i)]; ^