-
[python]백준 2017 연세대학교 프로그래밍 경시대회 14568번알고리즘 문제풀이/백준(파이썬) 2023. 5. 15. 23:03
코드
import sys sys.stdin = open("14568.txt", "r") n=int(input()) q=0 for i in range(2,n-1,2): q+=(n-i-2)//2 print(q)
링크
https://www.acmicpc.net/problem/14568
'알고리즘 문제풀이 > 백준(파이썬)' 카테고리의 다른 글
[python]백준 심부름 가는 길 5554번 (0) 2023.05.17 [python]백준 점수계산 2506번 (0) 2023.05.16 [python]백준 연속구간 2495번 (0) 2023.05.14 [python]백준 0123456789 6916번 (1) 2023.05.13 [python]백준 공 1547번 (0) 2023.05.12