ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1223
. Chernobyl’ Eagle on a Roof
AC 0.926
Posted by
kirdmiv
9 Feb 2021 21:08
O(n^3) to calculate dp values.
o(1) to answer query.
dp[floors][eggs] -- answer.
Re: AC 0.926
Posted by
Abid29
4 Mar 2021 21:17
it enough to calculate in O(10*n^2)
AC in 0.015sec
© 2000–2024
Timus Online Judge Team
. All rights reserved.