---
# System prepended metadata

title: 2020 pre _ C
tags: [ytp]

---

---
title: 2020 pre _ C
tags: ytp
---

:::info

:::

## 2020 初賽
### 第一題
```python=
k = int(input("請輸入天數:"))
# num.py
if k <= 7 :
   print(5)
elif k >7 and k <= 14:
  print(10)
elif k >14 and k <= 21 :
  print(15)
elif k >21 and k <= 28 :
  print(20)
elif k >28 and k <= 35:
  print(25)
elif k >35 and k <= 42:
  print(30)
elif k >42 and k <= 49 :
  print(35)
elif k >49 and k <= 56 :
  print(40)
elif k >56 and k <= 63:
  print(45)
elif k >63 and k <= 70:
  print(50)
elif k >70 and k <= 77 :
  print(55)
elif k >77 and k <= 84 :
  print(60)
elif k >84 and k <= 91 :
  print(65)
elif k >91 and k <= 98 :
  print(70)
elif k >98 and k < 100:
  print(75)

```

### 第二題
```

```