Problem dyingpolynomial
User kiwiwi
Submission Time 2025-06-19 16:21:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dyingpolynomial.cpp: In function ‘int main()’:
dyingpolynomial.cpp:20:24: error: ‘n’ was not declared in this scope
20 | for (int i = 0; i < n; ++i) {
| ^
dyingpolynomial.cpp:21:20: error: ‘t’ was not declared in this scope
21 | total += mid / t[i];
| ^
dyingpolynomial.cpp:22:18: error: ‘k’ was not declared in this scope
22 | if (total >= k) break;
| ^
dyingpolynomial.cpp:25:17: error: ‘k’ was not declared in this scope
25 | if (total >= k) {
| ^