摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2029题目大意:回文数,即第一个和最后一个相同,第二个和倒数第二个相同、、、、以此类推 注意字符的输入,以及计算字符长度的位置。还有要注意清流哦~ 1 #include 2 #include 3 in... 阅读全文
posted @ 2014-07-18 16:17
若忆_star
阅读(445)
评论(0)
推荐(0)
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2028题目大意:求最小公倍数,用辗转相除法。 1 #include 2 int main () 3 { 4 int gcd(int a,int b); 5 int a,b,n,i,c; ... 阅读全文
posted @ 2014-07-18 13:11
若忆_star
阅读(344)
评论(0)
推荐(0)
浙公网安备 33010602011771号