用数学的方法测出你的年龄(初中以上数学可以进入)
登录 | 论坛导航 -> 华新鲜事 -> 心情闲聊 | 本帖共有 5 楼,当前显示第 3 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:过把瘾去死 (等级:2 - 初出茅庐,发帖:233) 发表:2003-05-18 14:32:44  3楼 
algorithmassume the number you have choose is A, then A is an integer between 1 and 7. Assume you have celebrated your birthday of this year, then put 1753 in the calculation. If you have not, then it can be shown in a similar way. Assume you were born in year B. According to procedure, (2A+5)*50+1753-B is the final answer, which is 100A+2003-B indeed. Make sure you were born after 1903, otherwise it would be bug for this algorithm. And this will guarantee 2003-B would be the number the last two digits represent. Therefore, A is the first digit, which represents the number you choose, and 2003-B is your age.
不准列
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 5 楼,当前显示第 3 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码