Pro.ID1512 TitleBlocks Title链接http://10.20.2.8/oj/exercise/problem?problem_id=1512 AC115 Submit231 Ratio49.78% 时间&空间限制描述
输入The first line of input contains C, the number of test cases. For each case there is an additional line containing N, the number of blocks to be shipped. N does not exceed 1000. 输出Description
Input The first line of input contains C, the number of test cases. For each case there is an additional line containing N, the number of blocks to be shipped. N does not exceed 1000. Output Your program should produce one line of output per case, giving the minimal area of paper (in square inches) needed to wrap the blocks when they are stacked together. Sample Input 5 Sample Output 30 Source 样例输入5 样例输出30 作者 |