| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 256 MB | 167 | 113 | 100 | 69.444% |
Busy Beaver arrived to his MIT class late! However, thanks to "MIT time", all classes actually start 5ドル$ minutes later than the posted time.
Busy Beaver wants to make a generalization of this system. Namely, if someone arrives $N$ minutes late to an event, then:
Given $N,ドル determine on which of "MIT time", "MIT$^2$ time", etc. this person arrived at.
The first line contains a single integer $T$ $(1 \leq T \leq 10^5)$ --- the number of test cases.
The only line of each test case contains a single integer $N$ (1ドル \le N \le 10^9$) --- the number of minutes late to an event the person is.
For each test case, output a single line that consists of either "MIT time" or "MIT^$k$ time" for some integer $k \geq 2,ドル corresponding to the time this person arrives at.
5 4 5 13 126 1
MIT time MIT time MIT^2 time MIT^4 time MIT time
In the first test case, $N = 4,ドル which is at most 5ドル,ドル so this is MIT time.
In the second test case, $N = 5,ドル which is equal to 5ドル,ドル so this is also MIT time.
In the third test case, $N = 13,ドル which is not more than 25ドル$ but more than 5ドル,ドル so this is MIT$^2$ time.
The fourth test case, $N = 126,ドル which is not more than 5ドル^4=625$ but more than 5ドル^3 = 125,ドル so this is MIT$^4$ time.
University > MIT > M(IT)^2 > M(IT)^2 Winter 2025 Tournament > Beginner Round 1번