본문 바로가기

728x90
반응형

전체 글

(98)
[SW Expert Academy] 1936. 1 대 1 가위바위보(using python) *문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PjKXKALcDFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] A와 B가 가위바위보를 하였다. 가위는 1, 바위는 2, 보는 3으로 표현되며 A와 B가 무엇을 냈는지 입력으로 주어진다. A와 B중에 누가 이겼는지 판별해보자. 단, 비기는 경우는 없다. [ 입 력 ] 입력으로 A와 B가 무엇을 냈는지 빈 칸을 사이로 주어진다. [ 출 력 ] A가 이기면 A, B가 이기면 B를 출력한다. [ 전체코드 ] A, B =..
[SW Expert Academy] 1933. 간단한 N의 약수(using python) * 문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PhcWaAKIDFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 입력으로 1개의 정수 N 이 주어진다. 정수 N 의 약수를 오름차순으로 출력하는 프로그램을 작성하라. [제약사항] N은 1이상 1,000이하의 정수이다. (1 ≤ N ≤ 1,000) [입력] 입력으로 정수 N 이 주어진다. [출력] 정수 N 의 모든 약수를 오름차순으로 출력한다. [ 전체코드 ] T = int(input()) print(" ".joi..
[SW Expert Academy] 1938. 아주 간단한 계산기(using python) * 문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5PjsYKAMIDFAUq&categoryId=AV5PjsYKAMIDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=PYTHON&select-1=1&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 두 개의 자연수를 입력받아 사칙연산을 수행하는 프로그램을 작성하라...
[SW Expert Academy] 2025. N줄 덧셈(using python) * 문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QFZtaAscDFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 1부터 주어진 숫자만큼 모두 더한 값을 출력하시오. 단, 주어질 숫자는 10000을 넘지 않는다. [ 예 제 ] 주어진 숫자가 10 일 경우 출력해야 할 정답은, 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55 [ 전체코드 ] T = int(input()) result = 0 for i in range(1, T+1): ..
[SW Expert Academy] 2029. 몫과 나머지 출력하기(using python) * 문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QGNvKAtEDFAUq&categoryId=AV5QGNvKAtEDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=PYTHON&select-1=1&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 2개의 수 a, b를 입력 받아, a를 b로 나눈 몫과 나머지를 출..
[SW Expert Academy] 2046. 스탬프 찍기(using python) * 문제의 저작권은 SW Expert 에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QJ_8KAx8DFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 서랍의 비밀번호가 생각이 나지 않는다. 비밀번호 P는 000부터 999까지 번호 중의 하나이다. 주어지는 번호 K부터 1씩 증가하며 비밀번호를 확인해 볼 생각이다. 예를 들어 비밀번호 P가 123 이고 주어지는 번호 K가 100 일 때, 100부터 123까지 24번 확인하여 비밀번호를 맞출 수 있다. P와 K가 주어지면 K부터 시작하여 몇 번 만에..
[SW Expert Academy] 2046. 스탬프 찍기(using python) * 문제의 저작권은 SW Expert에 있습니다. swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QKdT6AyYDFAUq&categoryId=AV5QKdT6AyYDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=PYTHON&select-1=1&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 주어진 숫자만큼 # 을 출력해보세요. 주어질 숫자는 100,000 ..
[SW Expert Academy] 1545. 거꾸로 출력해 보아요(using python) * 문제의 저작권 SW Expert에 있습니다. swexpertacademy.com/main/talk/solvingClub/problemView.do?solveclubId=AXbMsN1qMnMDFAVy&contestProbId=AV2gbY0qAAQBBAS0&probBoxId=AXbMsN1qMnQDFAVy&type=PROBLEM&problemBoxTitle=%EB%82%9C%EC%9D%B4%EB%8F%841&problemBoxCnt=10 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [ 문 제 ] 주어진 숫자부터 0까지 순서대로 찍어보세요 아래는 입력된 숫자가 N일 때 거꾸로 출력하는 예시입니다 [ 전체 코드 ..

728x90
반응형