Comments

I think the formula for f[i] is wrong in the editorial for problem C. Shouldn't it be

f[i] = max(f[i + 1] , f[i + 1] * (1 — p[i] / 100) + c[i]).

Bro this is just asking for downvotes. Delete this before you get more negative contribution

Oh I just read the title and answered, didn't notice he was asking about today's B. In that case we need prime factorization

Learn sieve of Eratosthenes. It can detect primes till N in O(N log(log(N))

I'm facing problems again, can you fix it

Yes it's working now

login not working

Got it. Thanks

"For the rest of the terms, it is easy to observe that the term below is always less than or equal to the corresponding term above since x is added in the calculation.". I can't observe it. Could would explain further

On Wind_EagleCongratulations tourist!, 20 months ago
+18

Petition to make the rank name tourist for rating >=4000

I'm in

Can someone help me understand the solution for D.Why does there always exist a valid sequence of operations if we can satisfy the conditions for each element independently

On NanakoGood Bye 2022 -- Editorial, 3 years ago
0

Can someone provide a easir explanation for problem C

Hope they fix it