|
||||||||||
三角形Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11198 Accepted Submission(s): 7405 Problem Description 用N个三角形最多可以把平面分成几个区域? Input 输入数据的第一行是一个正整数T(1<=T<=10000),表示测试数据的数量.然后是T组测试数据,每组测试数据只包含一个正整数N(1<=N<=10000). Output 对于每组测试数据,请输出题目中要求的结果. Sample Input
Sample Output
Author Ignatius.L | ||||||||||
|