JavaScript554 [Codewars] Coding Meetup #5 - Higher-Order Functions Series - Prepare the count of languages (7 kyu) / JavaScript https://www.codewars.com/kata/5828713ed04efde70e000346 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: You will be given an array of objects (associative arrays in PHP, table.. 2023. 5. 4. [백준] 4470: 줄번호 / Node.js (JavaScript) https://www.acmicpc.net/problem/4470 4470번: 줄번호 텍스트에서 줄을 입력받은 뒤, 줄 번호를 출력하는 프로그램을 작성하시오. www.acmicpc.net 문제 텍스트에서 줄을 입력받은 뒤, 줄 번호를 출력하는 프로그램을 작성하시오. 입력 첫째 줄에 줄의 수 N이 주어진다. 둘째 줄부터 N개의 줄에 각 줄의 내용이 주어진다. 각 줄에 있는 글자의 개수는 50글자를 넘지 않는다. 출력 각 문장의 앞에 줄 번호를 추가한 뒤 출력한다. 줄 번호는 1번부터 시작한다. 줄번호를 추가하는 형식은 출력 예제를 참고하면 된다. 예제 입력 1 5 Lionel Cosgrove Alice Columbus and Tallahassee Shaun and Ed Fido 예제 출력 1 1. Lion.. 2023. 5. 4. [백준] 20499: Darius님 한타 안 함? / Node.js (JavaScript) https://www.acmicpc.net/problem/20499 20499번: Darius님 한타 안 함? 그가 「진짜」이면 gosu, 「가짜」이면 hasu를 출력한다. www.acmicpc.net 문제 아무래도 우리 팀 다리우스가 고수인 것 같다. 그의 $K/D/A$를 보고 그가 「진짜」인지 판별해 보자. $K+A < D$이거나, $D = 0$이면 그는 「가짜」이고, 그렇지 않으면 「진짜」이다. 입력 $K/D/A$가 주어진다. 출력 그가 「진짜」이면 gosu, 「가짜」이면 hasu를 출력한다. 제한 $0 \le K, D, A \le 20$ 예제 입력 1 0/5/3 예제 출력 1 hasu 예제 입력 2 12/4/5 예제 출력 2 gosu 예제 입력 3 0/0/1 예제 출력 3 hasu 코드 const.. 2023. 5. 3. [Codewars] Coding Meetup #4 - Higher-Order Functions Series - Find the first Python developer (7 kyu) / JavaScript https://www.codewars.com/kata/5827bc50f524dd029d0005f2 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: You will be given an array of objects (associative arrays in PHP) repre.. 2023. 5. 3. 이전 1 ··· 7 8 9 10 11 12 13 ··· 139 다음