Блог пользователя Bnahmad15

Автор Bnahmad15, история, 6 лет назад, По-английски

given an array of integers with (N <= 1e6) and Q (Q <= 1e6) queries with L and R.. what is the mostly repeated number in range [L,R] ? is there any fast way to work it out ?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -4
  • Проголосовать: не нравится

Автор Bnahmad15, история, 8 лет назад, По-английски

Hi guys I had a problem here I was solving a problem and I am writing my solution on ideone.com when I tried it on ideone it gives me 2 and when I submit here it gives me 1 ??? what is this plz help me :D :D

Полный текст и комментарии »

  • Проголосовать: нравится
  • -14
  • Проголосовать: не нравится