文学城论坛
+A-

SAP智力题 任一个整数变任一个整数

Williamluo 2010-01-13 13:26:03 ( reads)

http://forumsa.sdn.sap.com/thread.jspa?messageID=8626179&
-----------
Present a computation whose result is any given integer M, being a composition of commonly used mathematical functions and field operators (including + - * / ^ ! sin cos tg ctg sqt ln log exp arcsin arccos arctg arcctg) , but using only one constant, an any given interger N.

跟帖(9)

康MM

2010-01-13 16:56:30

回复:SAP智力题 任一个整数变任一个整数

Williamluo

2010-01-13 17:44:22

extension

Williamluo

2010-01-13 18:59:35

Extention II

yuhaian

2010-02-23 17:16:39

1+1+1+1+...+1 就可以呀

guest007

2010-03-11 09:40:40

n is "any".

爱玩深沉

2010-03-11 19:25:02

回复:1+1+1+1+...+1 就可以呀

爱玩深沉

2010-03-11 19:25:43

1 = n^(n-n)

Lohengrin

2010-03-19 05:19:02

N/N*M

mister986

2010-04-05 19:57:18

N-N+M