摘要:
SORT AGAINTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3428Accepted Submission(s): 1088Problem Description给你N个整数,x1,x2...xn,任取两个整数组合得到|xi-xj|,(014 #include15 int ans[2005];16 int a[1005];17 int Sub(int a,int b)18 {19 if(a>b) return a-b;20 ... 阅读全文
摘要:
A simple problemTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2730Accepted Submission(s): 958Problem DescriptionZty很痴迷数学问题.。一天,yifenfei出了个数学题想难倒他,让他回答1 / n。但Zty却回答不了^_^. 请大家编程帮助他.Input第一行整数T,表示测试组数。后面T行,每行一个整数 n (113 #include14 int main(void) 15 阅读全文