0_0_39292127_18718.cpp: In function 'int main()': 0_0_39292127_18718.cpp:44:9: error: 'idx' was not declared in this scope 44 | idx=0; | ^~~