Confusion in B problem of Codeforces educational round #103

Правка en1, от Aryan., 2021-01-30 14:01:40

Hello friends, I have a doubt in question B)Inflation from Codeforces Educational Round #103 (Div. 2). Question link — https://codeforces.net/contest/1476/problem/B My Solution — https://codeforces.net/contest/1476/submission/106011277

After trying it 13 times I am not able to understand what is wrong in my code which is giving wrong answer with test 4.

I shall be thankful if someone helps me in this.

Теги #math, #greedy, #long double

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Aryan. 2021-01-30 14:01:40 479 Initial revision (published)