[中譯] 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