Analysing Time complexity

Revision en4, by copyPasteCoder, 2024-06-18 21:31:58

For problem 1692H - Gambling, I submitted the solution 266357811. My algorithm keep tracks of all numbers that are currently profitable. If any of them become unprofitable at any point, I stop tracking that number.

I would like to perform a proper time complexity analysis for my solution, but I am uncertain about how to proceed. Could anyone assist me with this?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English copyPasteCoder 2024-06-18 21:31:58 17 Tiny change: 'lysis for this problem, but I am' -> 'lysis for my solution, but I am'
en3 English copyPasteCoder 2024-06-18 21:31:23 18
en2 English copyPasteCoder 2024-06-18 21:28:54 0 (published)
en1 English copyPasteCoder 2024-06-18 21:28:17 397 Initial revision (saved to drafts)