COMMON LISP (2) 썸네일형 리스트형 [Common Lisp] [Codewars] 8Kyu - Grasshopper - Summation Codewars: Achieve mastery through coding challenge Codewars is a coding practice site for all programmers where you can learn various programming languages. Join the community and improve your skills in many languages! www.codewars.com 문제 Write a program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than 0. For example: summation(2) .. [Common Lisp] [구름LEVEL] 16진수 구름LEVEL 코딩테스트에서 가장 높은 비중을 차지하는 알고리즘 문제를 제작하고 풀이할 수 있는 온라인 저지 서비스입니다. 기업에서 선호하는 C, C++, 파이썬(Python), 자바(Java), 자바스크립트(Javascript) 이 level.goorm.io 문제 입력 받은 10진수를 16진수로 출력하는 프로그램을 작성하십시오. 코드 (setq n (format nil "~X" (read))) (write-string (string-downcase n)) 설명 아래와 같이 간단하게 풀려고 했으나, (write-string (format nil "~X" (read))) 16진수의 소문자 출력을 요구하기에, 구한 16진수를 그냥 소문자 처리 해버렸다. 조금 찜찜하지만, 일단 여기까지. 이전 1 다음 1/1