← All problemsSign in

Which Division

CodeChefRating 867Open on judge ↗

Given the rating $R$ of a person, tell which division he belongs to. The rating range for each division are given below: - Division $1$: $2000 \le$ Rating. - Division $2$: $1600 \le$ Rating $\lt 2000$. - Division $3$: Rating $\lt 1600$. ### Input - The first line of the input contains $T$ - the number of test cases. Then the test cases follow. - Each testcase contains a single line of input, whi

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start