Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Codeforces Round 901 (Div. 2)

Revision en1, by shubham2468, 2023-10-01 13:34:00

"A. Jellyfish and Undertale " A better solution[submission:226139688] [Solution link](https://codeforces.com/contest/1875/submission/226139688) ==================

Suppose there is no such bug as "a" then the total time for the bomb to explode will be the sum of the tools + b. In the question, we have given "a" so if we get any tool that is greater than "a" then we should add "a" to the vector rather than adding the tool that is greater than "a".

Hope it helps.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English shubham2468 2023-10-05 16:32:17 24
en3 English shubham2468 2023-10-01 13:38:39 0 (published)
en2 English shubham2468 2023-10-01 13:35:03 41
en1 English shubham2468 2023-10-01 13:34:00 503 Initial revision (saved to drafts)