![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UvaOnlineJudge
文章平均质量分 83
C26293
这个作者很懒,什么都没留下…
展开
-
Uva 100 3n+1problem
3n+13n+1问题是一个简单有趣而又没有解决的数学问题。这个问题是由L. Collatz在1937年提出的。克拉兹问题(Collatz problem)也被叫做hailstone问题、3n+1问题、Hasse算法问题、Kakutani算法问题、Thwaites猜想或者Ulam问题。问题如下:(1)输入一个正整数n;(2)如果n=1则结束;(3)如果n是奇数,则n变为3n+1,否则原创 2013-05-13 12:49:47 · 546 阅读 · 0 评论 -
Uva 10137 the trip
Problem A: The TripA number of students are members of a club that travels annually to exotic locations. Their destinations in the past have included Indianapolis, Phoenix, Nashville, Philadelphia,原创 2013-05-13 16:57:21 · 489 阅读 · 0 评论