본문 바로가기

JavaScript554

[Codewars] Form The Minimum (7 kyu) / JavaScript https://www.codewars.com/kata/5ac6932b2f317b96980000ca Codewars - Achieve mastery through coding practice and developer mentorship A coding practice website for all programming levels – Join a community of over 3 million developers and improve your coding skills in over 55 programming languages! www.codewars.com DESCRIPTION: Task Given a list of digits, return the smallest number that could be f.. 2023. 3. 23.
[백준] 22193: Multiply / Node.js (JavaScript) https://www.acmicpc.net/problem/22193 22193번: Multiply Write a program that computes a product of two non-negative integers A and B. The integers are represented in decimal notation and have N and M digits, respectively. www.acmicpc.net 문제 Write a program that computes a product of two non-negative integers A and B. The integers are represented in decimal notation and have N and M digits, respec.. 2023. 3. 22.
[Codewars] Grasshopper - Terminal game combat function (8 kyu) / JavaScript https://www.codewars.com/kata/586c1cf4b98de0399300001d Codewars - Achieve mastery through coding practice and developer mentorship A coding practice website for all programming levels – Join a community of over 3 million developers and improve your coding skills in over 55 programming languages! www.codewars.com DESCRIPTION: Create a combat function that takes the player's current health and the.. 2023. 3. 22.
[백준] 17496: 스타후르츠 / Node.js (JavaScript) https://www.acmicpc.net/problem/17496 17496번: 스타후르츠 1, 11, 21, 31, 41 일에 스타후르츠 씨앗을 심으면 됩니다. 51일에 심으면 61일에 수확이 가능한데 여름은 60일까지 이므로 61일에는 수확할 수 없습니다. 따라서 총 5 * 300 = 1500개의 스타후르츠를 수확 www.acmicpc.net 문제 진수는 회사 생활에 지쳐 회사를 그만두고 귀농을 하여 작물들을 키우며 생활하고 있습니다. 진수는 작물 중에서도 '스타후르츠' 라는 작물을 제일 좋아합니다. 스타후르츠 씨앗을 심으면 자라는데 T일이 걸립니다. i일에 스타후르츠 씨앗을 심으면 i+T일에 수확할 수 있고 수확한 날에도 같은 칸에 씨앗을 또 심을 수 있습니다. 진수에게는 스타후르츠 씨앗을 심을 .. 2023. 3. 22.