[中译] Puzzleup 2016 (20) Expression

楼主: LPH66 (-6.2598534e+18f)   2016-12-07 22:53:44
题目网址: http://www.puzzleup.com/2016/
http://www.puzzleup.com/2016/puzzle/?20
答题时限: 12月9日7PM-比赛结束
加分时限: 12月9日7PM-12月14日6:59PM
答对可得基本分100分。答案可上传5次,每改1次答案从基本分扣20分。 
比赛期间内可随时上传答案,加分时限内答对第n天加(6-n)分       
另依题目的难易有额外加分(如有80%的人这题答错,答对者加80分)  
◆EXPRESSION
Using the 10 digits (0,1,2,3,4,5,6,7,8,9), four arithmetic operations
("+","-", "x", " /"), exponentiation ("^"), factorial ("!"), decimal point
("."), and one pair of parentheses exactly one time, form an expression with
maximum possible result.
Example:
(2.3/1-0+4x65)^789!
Notes:
- Order of operations: 1.(Factorial), 2.(Exponent), 3.(Multiplication and
Division), 4.(Addition and Subtraction). Expressions inside the parentheses
should be evaluated first.
- The signs "+", and "-" can be used only for addition and subtraction
operations (not for assigning positive or negative values to the numbers).
- The decimal point should be between two digits.
- Operations having undefined results (like division to zero) are not allowed.
使用所有数字 (0,1,2,3,4,5,6,7,8,9)、四则运算 (加 "+", 减 "-", 乘 "x", 除 "/")
、指数 ("^")、阶乘 ("!")、小数点 (".")、以及一对小括号各恰好一次,
做出一个结果最大的式子。
例子:
(2.3/1-0+4x65)^789!
注意:
* 计算顺序为: 1. 阶乘, 2. 指数, 3. 乘除, 4. 加减。括号内的式子先算。
* "+" 和 "-" 仅可用来表示加和减,不可表示正数或负数。
* 小数点必须在两个数字之间。
* 不允许式子有未定义的结果 (例如除以零等)。
楼主: LPH66 (-6.2598534e+18f)   2016-12-07 22:54:00
今年因为各种事情稍微多了一点所以中途脱队了所以之后对答案的部份就麻烦有参战的各位了
作者: buffalobill (水牛比尔)   2016-12-23 10:30:00
^^今年挤进前50了,虽然是第49名……

Links booklink

Contact Us: admin [ a t ] ucptt.com