0_0_39658794_31271.cpp: In function 'void solve()': 0_0_39658794_31271.cpp:42:30: error: 'n' was not declared in this scope 42 | for (int i = 1; i <= n; i++) { | ^