1
2
3
4
5
6
|
def cnt(regular, small):
return regular*8+small*3-28
regular=int(input())
small=int(input())
print(cnt(regular,small))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 24723 녹색거탑 (0) | 2022.05.25 |
---|---|
백준 24309 РАВЕНСТВО (0) | 2022.05.24 |
백준 24736 Football Scoring (0) | 2022.05.24 |
codeforces 1669A - Division? (0) | 2022.05.24 |
백준 10995 별 찍기 - 20 (0) | 2022.05.16 |
댓글