00:06:45
CodeWars || int32 to IPv4 || JavaScript || Code Challenge
Описание
Take the following IPv4 address: 128.32.10.1
This address has 4 octets where each octet is a single byte (or 8 bits).
1st octet 128 has the binary representation: 10000000
2nd octet 32 has the binary representation: 00100000
3rd octet 10 has the binary representation: 00001010
4th octet 1 has the binary representation: 00000001
So 128.32.10.1 == 10000000.00100000.00001010.00000001
Because the above IP address has 32 bits, we can represent it as the unsigned 32 bit number: 2149583361
Complete the function that takes an unsigned 32 bit number and returns a string representation of its IPv4 address.
Examples
2149583361 - "128.32.10.1"
32 - "0.0.0.32"
0 - "0.0.0.0"
Рекомендуемые видео

Пусть говорят 27.08.2026
306 просмотров

ВОЕННЫЙ ФИЛЬМ НЕ ДЛЯ СЛАБОНЕРВНЫХ! КРУТОЙ БОЕВИК НА ОДНОМ ДЫХАНИИ! ВЫСОКОБЮДЖЕТНЫЙ БОЕВИК! " ЩИТ"
68 039 просмотров

ПРЕМЬЕРА ВОЕННОГО БОЕВИКА 2025! НАШУМЕВШИЙ ЗАРУБЕЖНЫЙ ФИЛЬМ! "Уцелевший" ЗАРУБЕЖНЫЕ ВОЕННЫЕ ФИЛЬМЫ
14 299 просмотров
![[WIP]❕2X || “ Animal Hospital react to … ”](/images/video/2026-08-04/90/39/90393dcf0532b64f862ad22d635c8227.jpg?width=640)
[WIP]❕2X || “ Animal Hospital react to … ”
5 274 просмотров

Адвокат Дьявола (1997) / The Devil`s Advocate
55 710 просмотров

Отец года. Мужское / Женское 01.07.2024
46 484 просмотров

2 часа блаженства! Массовое производство сладких и уникальных кондитерских изделий и десертов
4 539 просмотров

Джек Ричер - 3 сезон, 3 серия (сериал, 2025) / Jack Reacher
9 352 просмотров

Forsaken reacts to EACHOTHER || 2x speed || rush video || TwoTime part || read description
452 просмотров

---Umar Keyn 2024 Mixes---
10 431 просмотров

||Forsaken Killers react to Swap Killer ||Tur/Eng||¦¦2Xspeed||Part 1||Q/DARES+HALF||Read Description
661 просмотров

Зузу просит пластырь! | Да, Нео! | 🎙️Новая серия песенок для детей | 🎵Развивающий ритм | BabyBus
55 059 просмотров

Swap forsaken AU react to... || 2X || forsaken || romaisa_xd
614 просмотров

🦖Տուրբոզավրեր - ՆՈՐ ՍԵՐԻԱ 48 | Մուլտֆիլմեր 2022 | Hayeren multer | Мультик на армянском
9 618 просмотров

Forsaken react to Chance || 2X ||
692 просмотров

||Реакция Священников и Экзорцистов на VALERA GHOSTHER |Православная страшилка (VR)| by: lihanmix||
2 356 просмотров

Երգ՝ Տերն իմ Հովիվն է - Սեւակ Բարսեղյան / Tern im Hovivn e - Sevak Barseghyan / Հոգեւոր երգ եւ աղոթ
2 118 просмотров

Удаление акне – профессиональная чистка у косметолога
4 953 просмотров

#628 Удаление акне. Экстракция комедонов. Подкожные прыщи. Чистка от черных точек
1 184 просмотров

||Forsaken Killers react to Swap Killer ||Tur/Eng||¦¦2Xspeed||Part 2||
855 просмотров