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