# HW04 評分標準
## 4.1 System Monitor
`./hw0401 --help`: 1 分,有顯示 help 說明
`./hw0401`: 22 分
format(對齊): 1 分
更新時有 clear screen: 1 分
使用預設的 count(無限) 和 time(5 秒): 2 分
PID 由小到大排序: 2 分
NAME 顯示: 2 分
State 顯示: 2 分
CPU 顯示: 8 分
MEM 顯示: 4 分
`./hw0401 -p 1`: 3 分
`./hw0401 -t 3`: 2 分
`./hw0401 -c 1`: 2 分
## 4.2 How to Rent your Bike?
完全按照作業說明批改,basic 各 5 分、advanced 5 分最高 15 分,總額最高 30 分。測試資料如下:
- -h
- `> ./hw0402 -h`
- uid
- `500105015`
- every status
- Show every required message on the screen
- name
- `Gongguan`
- lat/lon
- 公館校門口 `25.007846 121.537420`
- error message
- Any message reported on the screen
- search in chinese
- `公館`
- show chinese
- Any chinese shown on the screen
- fuzzy
- `GongguaN`
- new taipei
- Support search in New Taipei City
- UI/UX
- based on overall experence of your program
## 4.3 Do Challenge Compiler in This Class!!
## 4.4 Bonus: Wildcard
25: 有提到 wildcard
如果有錯會視情況救(送)一下分
## 4.5 Bonus: Bit Operation
10: 提到 right shift operation 的錯誤原因
15: 提出正確的解決方法
如果有錯會視情況給救(送)一下分
## 4.6 Bonus: MACRO
1. 有解釋 #cmd 是什麼: 25pts
## 4.7 Bonus: tgmath.h
1. 有解釋 `math.h` 跟 `tgmath.h` 裡的 `pow` function 的差別: 15pts
2. 有提供程式碼或程式執行範例解釋 `math.h` 跟 `tgmath.h` 裡的 `pow` function 的差別: 10pts