JavaScript554 [백준] 20215: Cutting Corners / Node.js (JavaScript) https://www.acmicpc.net/problem/20215 20215번: Cutting Corners A large coffee spill in the warehouse of the Busy Association of Papercutters on Caffeine has stained the corners of all paper in storage. In order to not waste money, it was decided that these dirty corners should be cut off of all pieces of paper. A few www.acmicpc.net 문제 A large coffee spill in the warehouse of the Busy Association.. 2023. 4. 19. [백준] 20353: Atrium / Node.js (JavaScript) https://www.acmicpc.net/problem/20353 20353번: Atrium The atrium of a traditional Roman dormus, much like the atria of today, is a perfectly square room designed for residents and guests to congregate in and to enjoy the sunlight streaming in from above. Or, in the case of Britannia, the rain streaming in fro www.acmicpc.net 문제 The atrium of a traditional Roman dormus, much like the atria of toda.. 2023. 4. 19. [Codewars] Super Duper Easy (8 kyu) / JavaScript https://www.codewars.com/kata/55a5bfaa756cfede78000026 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: Make a function that returns the value multiplied by 50 and increased b.. 2023. 4. 19. [백준] 11725: 트리의 부모 찾기 / Node.js (JavaScript) https://www.acmicpc.net/problem/11725 11725번: 트리의 부모 찾기 루트 없는 트리가 주어진다. 이때, 트리의 루트를 1이라고 정했을 때, 각 노드의 부모를 구하는 프로그램을 작성하시오. www.acmicpc.net 문제 루트 없는 트리가 주어진다. 이때, 트리의 루트를 1이라고 정했을 때, 각 노드의 부모를 구하는 프로그램을 작성하시오. 입력 첫째 줄에 노드의 개수 N (2 ≤ N ≤ 100,000)이 주어진다. 둘째 줄부터 N-1개의 줄에 트리 상에서 연결된 두 정점이 주어진다. 출력 첫째 줄부터 N-1개의 줄에 각 노드의 부모 노드 번호를 2번 노드부터 순서대로 출력한다. 예제 입력 1 7 1 6 6 3 3 5 4 1 2 4 4 7 예제 출력 1 4 6 1 3 1 4.. 2023. 4. 19. 이전 1 ··· 24 25 26 27 28 29 30 ··· 139 다음