
选拔赛题目及标程
文章平均质量分 70
CSUST_ACM
这个作者很懒,什么都没留下…
展开
-
Problem 1002
Problem 1002Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 91 Solved: 25[Submit][Status][Web Board]DescriptionPassword security is a tricky thing. Users prefer simple passwords that a原创 2012-02-26 22:49:51 · 649 阅读 · 0 评论 -
Problem 1007
Problem 1007Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 7 Solved: 1[Submit][Status][Web Board]Description题目描述更简单,直接看输入输出要求即可,数字位数不超过150位Input每组测试数组,输入一行两个数,a,b。 Output每组输出一个数为 a*原创 2012-02-26 22:57:07 · 615 阅读 · 0 评论 -
Problem 1005
Problem 1005Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 65 Solved: 4[Submit][Status][Web Board]Description“Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and原创 2012-02-26 22:54:20 · 767 阅读 · 0 评论 -
Problem 1004
Problem 1004Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 27 Solved: 3[Submit][Status][Web Board]Description对于十进制整数N,试求其-2进制表示。 例如,因为 1*1 + 1*-2 + 1*4 + 0*-8 +1*16 + 1*-32 = -1原创 2012-02-26 22:53:03 · 643 阅读 · 0 评论 -
Problem 1003
Problem 1003Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 320 Solved: 37[Submit][Status][Web Board]Description用筛法求之N内的素数。(N InputN (多个测试案例)Output0~N的素数 Sample Input100Sample原创 2012-02-26 22:51:33 · 509 阅读 · 0 评论 -
Problem 1001
Problem 1001Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 125 Solved: 3[Submit][Status][Web Board]DescriptionThe first line of a multiple input is an integer N, then a blank line followed原创 2012-02-26 22:47:19 · 815 阅读 · 0 评论 -
Problem 1000
Problem 1000Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 9 Solved: 2[Submit][Status][Web Board]Description一天Lvsi得到了一个方程 ax+by=d,已知a,b。a,b,x,y均为整数d为正整数 他突发奇想符合条件的d的最小正整数是什么呢?经过一番思考,他得到了答案,原创 2012-02-26 22:44:17 · 684 阅读 · 2 评论 -
Problem 1009
Problem 1009Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 81 Solved: 34[Submit][Status][Web Board]DescriptionGiven two rectangles and the coordinates of two points on the diagonals of each原创 2012-02-26 22:59:38 · 528 阅读 · 0 评论 -
Problem 1006
Problem 1006Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 319 Solved: 32[Submit][Status][Web Board]Description输入一个正数x和一个正整数n,求下列算式的值。要求顶一个调用2个函数:fact(n)计算n的阶乘;mypow(x,n)计算x的n次幂(即xn),两个函数的返原创 2012-02-26 22:55:49 · 988 阅读 · 0 评论 -
Problem 1008
Problem 1008Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 7 Solved: 1[Submit][Status][Web Board]DescriptionA number whose only prime factors are 2,3,5 or 7 is called a humble number. The s原创 2012-02-26 22:58:16 · 609 阅读 · 0 评论