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

Автор Adityaxv, 20 месяцев назад, По-английски

My code gives runtime error for some testcases of this Problem.

My Solution

But when I add integer 0, n times in the multiset at the beginning, my code gets accepted. Why?

Added Part
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
20 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

check if element exists before deleting