0_0_37729128_23901.cpp: In function 'void solve()': 0_0_37729128_23901.cpp:36:33: error: 'M' was not declared in this scope for (long long k = 1; k * k <= M; k++) { ^