选拔赛题目及标程
文章平均质量分 70
CSUST_ACM
这个作者很懒,什么都没留下…
展开
-
Problem 1002
Problem 1002 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 91 Solved: 25 [Submit][Status][Web Board] Description Password security is a tricky thing. Users prefer simple passwords that a原创 2012-02-26 22:49:51 · 604 阅读 · 0 评论 -
Problem 1007
Problem 1007 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 7 Solved: 1 [Submit][Status][Web Board] Description 题目描述更简单,直接看输入输出要求即可,数字位数不超过150位 Input 每组测试数组,输入一行两个数,a,b。 Output 每组输出一个数为 a*原创 2012-02-26 22:57:07 · 587 阅读 · 0 评论 -
Problem 1005
Problem 1005 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 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 · 700 阅读 · 0 评论 -
Problem 1004
Problem 1004 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 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 · 598 阅读 · 0 评论 -
Problem 1003
Problem 1003 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 320 Solved: 37 [Submit][Status][Web Board] Description 用筛法求之N内的素数。(N Input N (多个测试案例) Output 0~N的素数 Sample Input 100 Sample原创 2012-02-26 22:51:33 · 478 阅读 · 0 评论 -
Problem 1001
Problem 1001 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 125 Solved: 3 [Submit][Status][Web Board] Description The first line of a multiple input is an integer N, then a blank line followed原创 2012-02-26 22:47:19 · 753 阅读 · 0 评论 -
Problem 1000
Problem 1000 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 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 · 629 阅读 · 2 评论 -
Problem 1009
Problem 1009 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 81 Solved: 34 [Submit][Status][Web Board] Description Given two rectangles and the coordinates of two points on the diagonals of each原创 2012-02-26 22:59:38 · 494 阅读 · 0 评论 -
Problem 1006
Problem 1006 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 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 · 934 阅读 · 0 评论 -
Problem 1008
Problem 1008 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 7 Solved: 1 [Submit][Status][Web Board] Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The s原创 2012-02-26 22:58:16 · 579 阅读 · 0 评论