#P14813. [CCPC 2024 哈尔滨站] 奇怪的上取整
[CCPC 2024 哈尔滨站] 奇怪的上取整
Description
While learning about the ceiling function, a student wrote the following pseudocode:
:::align{center}
:::
You know that this is incorrect, but you are curious about the characteristics of the function defined by this student. Specifically, you want to calculate the value of .
Input Format
The first line contains an integer (), indicating the number of test cases.
For each test case, there is one line containing an integer ().
Output Format
For each test case, output one line containing an integer representing the answer.
3
5
451
114514
21
10251
7075858
京公网安备 11011102002149号