0_0_39684552_12140.cpp: In function 'int main()': 0_0_39684552_12140.cpp:10:22: error: 'hanoi' was not declared in this scope 10 | else hanoi[i]=a[i-1]+i; | ^~~~~