Can you solve it??

Правка en2, от d0uch3b4g, 2018-06-24 17:04:47

Some days ago, I set a problem in a contest for the first time. The contest was only for my junior brothers-sisters. Now I am giving the link of that problem, take a look and try to solve. Here is the link: (https://www.hackerrank.com/contests/iubat-ramadan-contest/challenges/who-will-be-the-winner). I think you'll be happy after solving this problem.

If you try harder but you're not being able to solve it then you can take a look to given editorial(Please don't see editorial without trying harder). Editorial Link: (https://pastebin.com/DpfJTXAu).

N.B: Please show some kindness to me, if I've made some mistakes in the problem or if the problem isn't quite clear to you. Cause this is the first time, I've set a problem for a contest. :)

And if you find out some better logic or formula to solve this problem, you can share by commenting here. :)

Thank you. :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский d0uch3b4g 2018-06-24 17:04:47 112
en1 Английский d0uch3b4g 2018-06-24 16:30:40 790 Initial revision (published)