HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Unsorted > problem:


Find the Missing number

Section problems

• Find Common Characters
• За решеткой
• Забавная игра
• Змейка
• Игра в числа
• Коррекция кода
• Максимум из минимумов
• Маршрут
• Find the Missing number
• Наименьшее число
• Одного ли цвета?
• Перестановки
• Перестановки (2)
• Покер
• Почтовые цифры
• Разложение на простые множители
• Roman to integer

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