309368: CF1669A. Division?

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:6 Solved:0

Description

Division?

题意翻译

### 题目描述 Codeforces 根据等级分将它的用户划分成 $4$ 个等级: + 等级 $1$:等级分大于等于 $1900$ + 等级 $2$:等级分大于等于 $1600$ 且小于等于 $1899$ + 等级 $3$:等级分大于等于 $1400$ 且小于等于 $1599$ + 等级 $4$:等级分小于等于 $1399$ 给你一个等级分,输出它属于哪个等级。 ### 输入格式 第一行一个整数 $t$,为数据的组数。 接下来 $t$ 行,每行一个整数,为等级分。 ### 说明/提示 第 $1$ 到 $4$ 组数据,等级分为 $-789,1299,1300,1399$,所以它们都属于等级 $4$。 第五组数据,等级分为 $1400$,在等级 $3$。 第六组数据,等级分为 $1679$,在等级 $2$。 第七组数据,等级分为 $2300$,在等级 $1$。 $-5000 \le 等级分 \le 5000$

题目描述

Codeforces separates its users into $ 4 $ divisions by their rating: - For Division 1: $ 1900 \leq \mathrm{rating} $ - For Division 2: $ 1600 \leq \mathrm{rating} \leq 1899 $ - For Division 3: $ 1400 \leq \mathrm{rating} \leq 1599 $ - For Division 4: $ \mathrm{rating} \leq 1399 $ Given a $ \mathrm{rating} $ , print in which division the $ \mathrm{rating} $ belongs.

输入输出格式

输入格式


The first line of the input contains an integer $ t $ ( $ 1 \leq t \leq 10^4 $ ) — the number of testcases. The description of each test consists of one line containing one integer $ \mathrm{rating} $ ( $ -5000 \leq \mathrm{rating} \leq 5000 $ ).

输出格式


For each test case, output a single line containing the correct division in the format "Division X", where $ X $ is an integer between $ 1 $ and $ 4 $ representing the division for the corresponding rating.

输入输出样例

输入样例 #1

7
-789
1299
1300
1399
1400
1679
2300

输出样例 #1

Division 4
Division 4
Division 4
Division 4
Division 3
Division 2
Division 1

说明

For test cases $ 1-4 $ , the corresponding ratings are $ -789 $ , $ 1299 $ , $ 1300 $ , $ 1399 $ , so all of them are in division $ 4 $ . For the fifth test case, the corresponding rating is $ 1400 $ , so it is in division $ 3 $ . For the sixth test case, the corresponding rating is $ 1679 $ , so it is in division $ 2 $ . For the seventh test case, the corresponding rating is $ 2300 $ , so it is in division $ 1 $ .

Input

题意翻译

### 题目描述 Codeforces 根据等级分将它的用户划分成 $4$ 个等级: + 等级 $1$:等级分大于等于 $1900$ + 等级 $2$:等级分大于等于 $1600$ 且小于等于 $1899$ + 等级 $3$:等级分大于等于 $1400$ 且小于等于 $1599$ + 等级 $4$:等级分小于等于 $1399$ 给你一个等级分,输出它属于哪个等级。 ### 输入格式 第一行一个整数 $t$,为数据的组数。 接下来 $t$ 行,每行一个整数,为等级分。 ### 说明/提示 第 $1$ 到 $4$ 组数据,等级分为 $-789,1299,1300,1399$,所以它们都属于等级 $4$。 第五组数据,等级分为 $1400$,在等级 $3$。 第六组数据,等级分为 $1679$,在等级 $2$。 第七组数据,等级分为 $2300$,在等级 $1$。 $-5000 \le 等级分 \le 5000$

加入题单

算法标签: