文学城论坛
+A-

IBM一月:二二得五

康MM 2010-01-06 04:21:09 ( reads)

用两个2算出5来。不能用round,floor,或ceiling。

跟帖(46)

Williamluo

2010-01-06 16:09:49

Answer from SAP forum

jinjing

2010-01-06 20:37:10

回复:Answer from SAP forum

康MM

2010-01-07 06:12:25

还有更好的办法。用LOG2相当于又用了一个10

jinjing

2010-01-07 07:49:01

回复:还有更好的办法。用LOG2相当于又用了一个10

jinjing

2010-01-07 13:33:46

wrong:5=exp(log2)/2.

WilliamLuo

2010-01-08 10:23:48

exp 相当于用了一个 e

jinjing

2010-01-09 12:33:41

回复1...1-11..=1.1=5.

jinjing

2010-01-09 05:42:09

5=s(2*2),s is seccessor function

yuhaian

2010-02-23 17:29:16

2×2+2/2 - LN 里的e,√里的2,LOG的10 也该算吧!

心如海

2010-04-11 02:50:36

第二行错,应为ln10=ln2/log2

云雾山中

2010-01-07 07:44:46

2 shifts left twice + 2 shifts right once = 5 (binary op)

云雾山中

2010-01-07 07:45:48

Correction: 2 shifts left once + 2 shifts right once

Williamluo

2010-01-08 10:19:18

Cool! 2>>1 + 2<<1, why not ++2+2

WilliamLuo

2010-01-08 10:21:31

I mean 2〉〉1 + 2《1

戏雨飞鹰

2010-01-11 08:08:51

厉害啊!PFPF

戏雨飞鹰

2010-01-11 08:15:03

康MM,新年快乐!祝您10年更漂亮,hahaha。。

戏雨飞鹰

2010-01-11 10:35:58

康MM,我永远也忘不了你智慧的大脑和美丽的笑脸,哈。。

康MM

2010-01-11 15:33:45

也祝你越来越漂亮。(怎么感觉象小学生造句是的?)

Commentate

2010-01-11 10:04:49

2/.2 number in base 5

戏雨飞鹰

2010-01-11 10:33:59

这个这个,太创造性啦:)

戏雨飞鹰

2010-01-11 10:37:08

very inspiring..

Commentate

2010-01-11 10:42:27

should be OK, unless a better one comes up

Commentate

2010-01-11 10:50:22

May not be the best answer

jinjing

2010-01-11 11:24:10

回复:May not be the best answer

戏雨飞鹰

2010-01-11 13:05:47

zt: Great.I think it is the best.

Williamluo

2010-01-11 13:33:57

2+2=10 based on 4, then 10 is 5 based on 5, great!

commentate

2010-01-11 13:50:31

It's really based on the taste

戏雨飞鹰

2010-01-12 07:17:37

hehe, i love it.

康MM

2010-01-11 15:41:40

戏雨飞鹰

2010-01-11 16:09:03

厉害!

commentate

2010-01-11 16:13:57

这可真是出题容易解题难

jinjing

2010-01-11 17:14:26

回复:解

Jinjing

2010-01-11 18:18:43

回复:解

Commentate

2010-01-12 08:01:34

回复:解

康MM

2010-01-12 09:05:14

是我的解。IBM的解要到月底才公布

戏雨飞鹰

2010-01-12 11:01:01

天才啊!

戏雨飞鹰

2010-01-12 11:04:09

我不只是大大地佩服。这样的国宝应该受到世界重视:)

Commentate

2010-01-12 11:49:25

Absolutely incredible

康MM

2010-01-13 08:24:20

没那么严重吧!哪能这么容易就当了熊猫的

戏雨飞鹰

2010-01-13 09:43:22

hahahaha,笑死我了。。。

Williamluo

2010-01-12 11:47:02

SAP forum上的万能解,所有数都能生成

戏雨飞鹰

2010-01-12 12:02:39

你,另一个天才!

Jinjing

2010-01-12 21:00:59

回复:SAP forum上的万能解,所有数都能生成

Williamluo

2010-01-12 13:17:58

change from SAP forum: cos(arctan(2))^(-2) = 5

Williamluo

2010-01-13 12:31:09

SAP forum 上的发现

WilliamLuo

2010-01-13 13:28:01

据说一个任整数就能变任一个整数