#P1574. 超级数
超级数
Description
Let the number of divisors of be . If , then we call a supernumber.
Given numbers , for each , output the largest supernumber not exceeding .
Input Format
The first line has one integer representing .
From line to line , each line contains one integer, where the integer on line is .
Output Format
Output lines, one integer per line, where the -th line is the largest supernumber not exceeding .
2
8
13
6
12
Hint
Constraints
- For 40% of the testdata, .
- For 50% of the testdata, .
- For 70% of the testdata, .
- For 100% of the testdata, , .
Translated by ChatGPT 5
京公网安备 11011102002149号