-
[python]백준 박사 과정 5026번알고리즘 문제풀이/백준(파이썬) 2023. 5. 19. 21:41
코드
import sys sys.stdin = open("5026.txt", "r") t=int(input()) for _ in range(t): q=input() if q=="P=NP": print('skipped') continue else: print(sum(map(int,q.split("+"))))
링크
https://www.acmicpc.net/problem/5026
'알고리즘 문제풀이 > 백준(파이썬)' 카테고리의 다른 글
[python]백준 공 넣기 10810번 (1) 2023.05.21 [python]백준 빅데이터? 정보보호! 26264번 (0) 2023.05.20 [python]백준 욱제는 효도쟁이야!! 14487번 (0) 2023.05.18 [python]백준 심부름 가는 길 5554번 (0) 2023.05.17 [python]백준 점수계산 2506번 (0) 2023.05.16