728x90
풀이
n개의 정수를 입력받아 합을 출력해주면 되는 문제다
소스코드
출처
28224번: Final Price
The first input line contains an integer n (1 ⩽ n ⩽ 1000), indicating the number of days the prices are observed. The second line contains a positive integer indicating the initial price of the desired good on day 1. The next n − 1 lines contain n
www.acmicpc.net
728x90
'PS > Baekjoon Online Judge' 카테고리의 다른 글
[백준 1865] 웜홀 [Python] (0) | 2023.06.17 |
---|---|
[백준 3932] Unreliable Messengers [Python] (0) | 2023.06.16 |
[백준 1298] 노트북의 주인을 찾아서 [Python] (0) | 2023.06.14 |
[백준 11375] 열혈강호 [Python] (1) | 2023.06.14 |
[백준 9576] 책 나눠주기 [Python] (0) | 2023.06.14 |