분류 전체보기

    [SW Expert Academy, SWEA 2058] 자릿수 더하기 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QPRjqA10DFAUq&categoryId=AV5QPRjqA10DFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=1&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. String으로 해결 N = input() sum ..

    [SW Expert Academy, SWEA 2063] 중간값 찾기 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QPsXKA2UDFAUq&categoryId=AV5QPsXKA2UDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=1&pageSize=10&pageIndex=1&&&&&&&&&& SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. # bubble sort 수행. ..

    [SW Expert Academy, SWEA 2068] 최대수 구하기 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QQhbqA4QDFAUq&categoryId=AV5QQhbqA4QDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=1&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. T = int(input()) for test_ca..

    [SW Expert Academy, SWEA 2070] 큰 놈, 작은 놈, 같은 놈 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QQ6qqA40DFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. T = int(input()) for test_case in range(1, T + 1): a, b = map(int, input().split()) print("#{}".format(test_case), end=' ') if (a < b): print("")

    [SW Expert Academy, SWEA 2071] 평균값 구하기 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QRnJqA5cDFAUq&categoryId=AV5QRnJqA5cDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=1&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. T = int(input()) for test_ca..

    [SW Expert Academy, SWEA 2072] 홀수만 더하기 (python)

    https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QSEhaA5sDFAUq SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com ※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다. t = int(input()) for test_case in range(1, t+1): arr = map(int, input().split()) sum = 0 for a in arr: if (a % 2 == 1): sum += a print("#"+str(test_case), sum)

    게임으로 배우는 파이썬 Part 1 Chapter 4 :PyGame

    PyGame은 파이썬 게임용 라이브러리이다. PyGame을 사용하면 윈도를 만들어 자유롭게 그릴 수 있다. 마우스나 키보드 입력도 받는다. 게임에서 편리하게 사용할 수 있는 명령도 풍부하다. 1 : 윈도 표시 먼저, 윈도를 화면에 표시한다. """justwindow.py""" import sys import pygame from pygame.locals import QUIT pygame.init() # (widht, height) SURFACE = pygame.display.set_mode((400, 300)) # window title pygame.display.set_caption("Just Window") def main(): """main routine""" while True: SURFACE.f..

    [백준, BOJ 6810] ISBN (python)

    https://www.acmicpc.net/problem/6810 6810번: ISBN The International Standard Book Number (ISBN) is a 13-digit code for identifying books. These numbers have a special property for detecting whether the number was written correctly. The 1-3-sum of a 13-digit number is calculated by multiplying the digits a www.acmicpc.net 문제 The International Standard Book Number (ISBN) is a 13-digit code for iden..

    [백준, BOJ 6778] Which Alien? (python)

    https://www.acmicpc.net/problem/6778 6778번: Which Alien? Canada Cosmos Control has received a report of another incident. They believe that an alien has illegally entered our space. A person who witnessed the appearance of the alien has come forward to describe the alien’s appearance. It is your role within th www.acmicpc.net 문제 Canada Cosmos Control has received a report of another incident. Th..

    [백준, BOJ 6768] Don’t pass me the ball! (python)

    https://www.acmicpc.net/problem/6768 6768번: Don’t pass me the ball! A CCC soccer game operates under slightly different soccer rules. A goal is only counted if the 4 players, in order, who touched the ball prior to the goal have jersey numbers that are in strictly increasing numeric order with the highest number being the www.acmicpc.net 문제 A CCC soccer game operates under slightly different soc..