TGViewer
StartupEmulator StartupEmulator @startupemulator · 49 subscribers
Post #404 97

Forwarded from 🇺🇦 Math.random(): community of engineers

Внимание! Соревнование на Math.random()!

Нужно найти самое короткое решение задачи на JavaScript:

—
Implement a function f with the following rules:
• If it receives a number that is divisible by 3 — return "hop"
• If it receives a number that has "3" in it — return "hop"
• If the number satisfies both conditions — return "hop-hop"
• If the number does not satisfy any of above conditions —return the number
• If function receives an array — apply above rules to each number in the array and return an array of results
—

Количество символов в Вашем решении — Ваш базовый балл. Помимо основной задачи c кодом есть маленькие задачи в стиле CTF (dev загадки), которые дают бонус, сокращая базовый балл на определённый процент (5%, 10%, 15%).

В 18:00 четверга (GMT+2) мы подведём итоги: кто раньше наберёт найменьшее количество баллов — побеждает!

Победитель получит футболку с нашим логотипом 👕 и вообще будет молодец 🙌

Чтобы поучаствовать напишите нашему боту @MathRandomBiathlonBot

Удачи! 🍀
More from @startupemulator
  1. May 22, 2026All updates and activity from the author have moved to another channel👇 🔗 t.me/mathrando…
  2. May 21, 2026StartupEmulator pinned Deleted message
  3. May 16, 2026🎩 Дроп: jscpd v4.2.0 🧩Cross-format detection - головна фіча. Тепер блок коду в одному фо…
  4. May 10, 2026t.me/mathrandomcommunity
  5. May 10, 2026Привіт, друзі! Рік сюди не писав. Буду щирий - думав закрити канал, але вирішив дати собі…
  6. May 10, 2026t.me/mathrandomcommunity
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →