HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Find the Missing number

Section problems

• Коррекция кода
• Куб
• Maze
• Лесенки
• Skiers
• Максимум из минимумов
• Маршрут
• Find all duplicates in array
• Find the Missing number
• Matrix
• Range Minimum Query
• Министерство правды
• Coins and nests
• Монополия
• Муравей
• Ball
• Наименьшее число

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Difficulty Alpha

0 дон n ге чейинки бутун сандардын массиви берилген, массивден кокус турдо бир маани очурулгон, ошол очурулгон элементти тапкыла

Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array.

Input: nums = [3,0,1]
Output: 2

Input: nums = [9,8,4,2,3,5,7,0,1]
Output: 6

Для отправки решений необходимо выполнить вход.

www.contester.ru