摘要: GCCTime Limit: 1000MS Memory limit: 65536K题目描述The GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by theGNU Project supporting various programming languages. But it doesn’t contains the math operator “!”.In mathematics the symbol represents the factorial operation. T 阅读全文
posted @ 2013-11-04 22:59 狂盗一枝梅 阅读(336) 评论(0) 推荐(0) 编辑
摘要: The areaTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6524Accepted Submission(s): 4578题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1071Problem DescriptionIgnatius bought a land last week, but he didn't know the area of the land because the 阅读全文
posted @ 2013-11-04 22:55 狂盗一枝梅 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 487-3279Time Limit: 2000ms Memory limit: 65536K有疑问?点这里^_^题目描述题目链接:sdut: http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1001poj: http://poj.org/problem?id=1002Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it sp 阅读全文
posted @ 2013-11-04 22:43 狂盗一枝梅 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 公共因子Time Limit: 1000MS Memory limit: 65536K题目描述题目链接:http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1465 假设字符串也有因数,一个字符串为s1,然后可以由n个字符串s2来表示,则称s2是s1的因数。 如“ac”是“acac”的因数。 给两个字符串,求它们的公因数有多少个。输入多组数据,给定两个字符串,s1,s2。长度不超过100000,并且不含空格。输出每组数据一行,公因数有多少个。示例输入acacacaaaaa示例输出11提示解题思路: 阅读全文
posted @ 2013-11-04 22:25 狂盗一枝梅 阅读(315) 评论(0) 推荐(0) 编辑