用两个2算出5来。不能用round,floor,或ceiling。
IBM一月:二二得五
用两个2算出5来。不能用round,floor,或ceiling。
所有跟帖:
• Answer from SAP forum -Williamluo- ♂ (1279 bytes) () 01/06/2010 postreply 16:09:49
• 回复:Answer from SAP forum -jinjing- ♀ (146 bytes) () 01/06/2010 postreply 20:37:10
• 还有更好的办法。用LOG2相当于又用了一个10 -康MM- ♀ (0 bytes) () 01/07/2010 postreply 06:12:25
• 回复:还有更好的办法。用LOG2相当于又用了一个10 -jinjing- ♀ (130 bytes) () 01/07/2010 postreply 07:49:01
• wrong:5=exp(log2)/2. -jinjing- ♀ (0 bytes) () 01/07/2010 postreply 13:33:46
• exp 相当于用了一个 e -WilliamLuo- ♂ (0 bytes) () 01/08/2010 postreply 10:23:48
• 回复1...1-11..=1.1=5. -jinjing- ♀ (84 bytes) () 01/09/2010 postreply 12:33:41
• 5=s(2*2),s is seccessor function -jinjing- ♀ (63 bytes) () 01/09/2010 postreply 05:42:09
• 2×2+2/2 - LN 里的e,√里的2,LOG的10 也该算吧! -yuhaian- ♂ (91 bytes) () 02/23/2010 postreply 17:29:16
• 第二行错,应为ln10=ln2/log2 -心如海- ♀ (0 bytes) () 04/11/2010 postreply 02:50:36
• 2 shifts left twice + 2 shifts right once = 5 (binary op) -云雾山中- ♂ (0 bytes) () 01/07/2010 postreply 07:44:46
• Correction: 2 shifts left once + 2 shifts right once -云雾山中- ♂ (0 bytes) () 01/07/2010 postreply 07:45:48
• Cool! 2>>1 + 2<<1, why not ++2+2 -Williamluo- ♂ (0 bytes) () 01/08/2010 postreply 10:19:18
• I mean 2〉〉1 + 2《1 -WilliamLuo- ♂ (0 bytes) () 01/08/2010 postreply 10:21:31
• 厉害啊!PFPF -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 08:08:51
• 康MM,新年快乐!祝您10年更漂亮,hahaha。。 -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 08:15:03
• 康MM,我永远也忘不了你智慧的大脑和美丽的笑脸,哈。。 -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 10:35:58
• 也祝你越来越漂亮。(怎么感觉象小学生造句是的?) -康MM- ♀ (0 bytes) () 01/11/2010 postreply 15:33:45
• 2/.2 number in base 5 -Commentate- ♂ (17 bytes) () 01/11/2010 postreply 10:04:49
• 这个这个,太创造性啦:) -戏雨飞鹰- ♀ (54 bytes) () 01/11/2010 postreply 10:33:59
• very inspiring.. -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 10:37:08
• should be OK, unless a better one comes up -Commentate- ♂ (0 bytes) () 01/11/2010 postreply 10:42:27
• May not be the best answer -Commentate- ♂ (29 bytes) () 01/11/2010 postreply 10:50:22
• 回复:May not be the best answer -jinjing- ♀ (29 bytes) () 01/11/2010 postreply 11:24:10
• zt: Great.I think it is the best. -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 13:05:47
• 2+2=10 based on 4, then 10 is 5 based on 5, great! -Williamluo- ♂ (72 bytes) () 01/11/2010 postreply 13:33:57
• It's really based on the taste -commentate- ♂ (125 bytes) () 01/11/2010 postreply 13:50:31
• hehe, i love it. -戏雨飞鹰- ♀ (0 bytes) () 01/12/2010 postreply 07:17:37
• 解 -康MM- ♀ (20 bytes) () 01/11/2010 postreply 15:41:40
• 厉害! -戏雨飞鹰- ♀ (0 bytes) () 01/11/2010 postreply 16:09:03
• 这可真是出题容易解题难 -commentate- ♂ (0 bytes) () 01/11/2010 postreply 16:13:57
• 回复:解 -jinjing- ♀ (109 bytes) () 01/11/2010 postreply 17:14:26
• 回复:解 -Jinjing- ♀ (5 bytes) () 01/11/2010 postreply 18:18:43
• 回复:解 -Commentate- ♂ (68 bytes) () 01/12/2010 postreply 08:01:34
• 是我的解。IBM的解要到月底才公布 -康MM- ♀ (35 bytes) () 01/12/2010 postreply 09:05:14
• 天才啊! -戏雨飞鹰- ♀ (0 bytes) () 01/12/2010 postreply 11:01:01
• 我不只是大大地佩服。这样的国宝应该受到世界重视:) -戏雨飞鹰- ♀ (0 bytes) () 01/12/2010 postreply 11:04:09
• Absolutely incredible -Commentate- ♂ (37 bytes) () 01/12/2010 postreply 11:49:25
• 没那么严重吧!哪能这么容易就当了熊猫的 -康MM- ♀ (0 bytes) () 01/13/2010 postreply 08:24:20
• hahahaha,笑死我了。。。 -戏雨飞鹰- ♀ (0 bytes) () 01/13/2010 postreply 09:43:22
• SAP forum上的万能解,所有数都能生成 -Williamluo- ♂ (525 bytes) () 01/12/2010 postreply 11:47:02
• 你,另一个天才! -戏雨飞鹰- ♀ (0 bytes) () 01/12/2010 postreply 12:02:39
• 回复:SAP forum上的万能解,所有数都能生成 -Jinjing- ♀ (103 bytes) () 01/12/2010 postreply 21:00:59
• change from SAP forum: cos(arctan(2))^(-2) = 5 -Williamluo- ♂ (0 bytes) () 01/12/2010 postreply 13:17:58
• SAP forum 上的发现 -Williamluo- ♂ (191 bytes) () 01/13/2010 postreply 12:31:09
• 据说一个任整数就能变任一个整数 -WilliamLuo- ♂ (57 bytes) () 01/13/2010 postreply 13:28:01