0_0_37907498_1944.cpp: In function 'll solve()':
0_0_37907498_1944.cpp:29:10: error: expected unqualified-id before '[' token
auto [q, idx] = *prev(it);
^
0_0_37907498_1944.cpp:30:35: error: 'q' was not declared in this scope
ll ans = min(ans, (x / s[n] - q) * n + idx);
^
0_0_37907498_1944.cpp:30:44: error: 'idx' was not declared in this scope
ll ans = min(ans, (x / s[n] - q) * n + idx);
^
|