HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Создуктор (Dictionary) > problem:


07. Find the Missing number

Volume problems

• 04. Сoordinate quarters
• 03. Dictionary from String
• 05. Scrabble
• 06. Sort People
• 07. Find the Missing number
• 08. Бутун сандар массиви
• 09. Roman to integer
• 10. Тамгалардын комбинациясы
• 11. Создуктон минималдуу маанис...
• 12. Word Break
• 13. Элис менен Бобдун конфеттери
• 14. Жакшы жуп
• 15. Find Common Characters

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