某天小明無意間在網路上發現原來大學的學生證號碼有特殊涵意,
因為小明有收集學號的癖好,因此手邊有不少同學的學生證號碼,
請你幫他寫一個程式幫他把手邊的學號分類。已知:
學號第三碼代表學生身分 | 第六碼代表入學方式 |
$4, 5 \Rightarrow$ 大學部 (Bachelor) | $0 \Rightarrow$ 體資生 (pe talented student) |
$6 \Rightarrow$ 碩士班 (MS student) | $1, 2, 3 \Rightarrow$ 考試入學 (testing) |
$8 \Rightarrow$ 博士班 (PhD student) | $4 \Rightarrow$ 推甄入學 (recommendation) |
$5 \Rightarrow$ 僑生 (overseas student) | |
$6 \Rightarrow$ 申請入學 (admission) | |
$7 \Rightarrow$ 外籍生 (foreign student) | |
$8 \Rightarrow$ 交換學生 (exchange student) | |
$9 \Rightarrow$ 轉學生 (transfer student) |
A string that represents a student ID.
A single line that prints out which identity he is and how was he enrolled.
Output 之大小寫以 Description 裡之大小寫為主。
No. | Testdata Range | Score |
---|---|---|
1 | 0~9 | 100 |
No. | Time Limit (ms) | Memory Limit (KiB) | Output Limit (KiB) | Subtasks |
---|---|---|---|---|
0 | 1000 | 65536 | 65536 | |
1 | 1000 | 65536 | 65536 | |
2 | 1000 | 65536 | 65536 | |
3 | 1000 | 65536 | 65536 | |
4 | 1000 | 65536 | 65536 | |
5 | 1000 | 65536 | 65536 | |
6 | 1000 | 65536 | 65536 | |
7 | 1000 | 65536 | 65536 | |
8 | 1000 | 65536 | 65536 | |
9 | 1000 | 65536 | 65536 |