JavaScript554 [Codewars] Sum of Minimums! (7 kyu) / JavaScript https://www.codewars.com/kata/5d5ee4c35162d9001af7d699 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: Given a 2D ( nested ) list ( array, vector, .. ) of size m * n, your ta.. 2023. 4. 2. [백준] 2501: 약수 구하기 / Node.js (JavaScript) https://www.acmicpc.net/problem/2501 2501번: 약수 구하기 첫째 줄에 N과 K가 빈칸을 사이에 두고 주어진다. N은 1 이상 10,000 이하이다. K는 1 이상 N 이하이다. www.acmicpc.net 문제 어떤 자연수 p와 q가 있을 때, 만일 p를 q로 나누었을 때 나머지가 0이면 q는 p의 약수이다. 6을 예로 들면 6 ÷ 1 = 6 … 0 6 ÷ 2 = 3 … 0 6 ÷ 3 = 2 … 0 6 ÷ 4 = 1 … 2 6 ÷ 5 = 1 … 1 6 ÷ 6 = 1 … 0 그래서 6의 약수는 1, 2, 3, 6, 총 네 개이다. 두 개의 자연수 N과 K가 주어졌을 때, N의 약수들 중 K번째로 작은 수를 출력하는 프로그램을 작성하시오. 입력 첫째 줄에 N과 K가 빈칸을 사.. 2023. 4. 1. [Codewars] The Feast of Many Beasts (8 kyu) / JavaScript https://www.codewars.com/kata/5aa736a455f906981800360d 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: All of the animals are having a feast! Each animal is bringing one dish.. 2023. 4. 1. [백준] 15633: Fan Death / Node.js (JavaScript) https://www.acmicpc.net/problem/15633 15633번: Fan Death 선풍기 사망설(fan death)은 우리나라에 존재하는 미신 중 하나이다. BOJ에도 fan death가 있는데, 그것은 BOJ를 만든 백준님에 대한 팬심을 치사량 이상으로 흡입(?)하여 사망하게 된다는 미신이다. 이 www.acmicpc.net 문제 선풍기 사망설(fan death)은 우리나라에 존재하는 미신 중 하나이다. BOJ에도 fan death가 있는데, 그것은 BOJ를 만든 백준님에 대한 팬심을 치사량 이상으로 흡입(?)하여 사망하게 된다는 미신이다. 이 문제에서는 당신이 fan death에 다다를 수 있을 정도로 백준님과 BOJ를 사랑하는지 확인할 것이다. 자연수 n이 주어졌을 때, n의 모든.. 2023. 4. 1. 이전 1 ··· 40 41 42 43 44 45 46 ··· 139 다음