본문 바로가기
SMALL

SW Expert Academy3

[SW Expert Academy] 합성수 방정식 *문제의 저작권은 SW Expert에 있습니다. https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AYYAGCNKPgIDFARc SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [문제] 합성수 2개를 구하고 그 차이가 제시한 값일 경우 출력 import sys import math sys.stdin = open("합성수 방정식.txt", "r") T=int(input()) def isComposite(num): if num 2023. 7. 3.
[SW Expert Academy] 원 안의 점 *문제의 저작권은 SW Expert에 있습니다. https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AYcllbDqUVgDFASR SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [문제] 반지름이 n인 원 안에 포함되는 격자점의 개수를 구하는 문제 T = int(input()) for i in range(1, T+1): n = int(input()) cnt = 0 for x in range(-n, n+1): for y in range(-n, n+1): if x ** 2 + y ** 2 2023. 6. 29.
[SW Expert Academy] View *문제의 저작권은 SW Expert에 있습니다. 출처 : https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AV134DPqAA8CFAYh&categoryId=AV134DPqAA8CFAYh&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com [문제] 좌우 2칸이상 시야가 확보되는 세대 수 구하는 문제 메모.. 2023. 6. 28.
LIST