#Octave, 43 bytes (Safe)
Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu*$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu*$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu*$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu**$$'2]+['nlouu*$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu**$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu*$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?
-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]
['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number
. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:
[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]
evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu**$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
#Octave, 43 bytes (Safe)
$'()*+,-/23579:[]aelnouv'*,-23:[]lu',-23]',
This is a script that requires input from the command line (it's not a function). It's floating point accuracy (so no rounding).
Solution:
eval(-[5,-2:3,-3:2]+['nlouu**$$',39,']2/7'])
Explanation:
eval( <string> ) % Evaluated the string inside the brackets and executes it
Everything inside theevalcall gets evaluated toinput('')^2.5
How?-[5,-2:3,-3:2] % A vector: [-5, 2, 1, 0, -1, -2, -3, 3, 2, 1, 0, -1, -2]['nlouu**$$',39,']2/7'] % This is a string: nlouu**$ concatenated with the number. % 39 (ASCII ']'), and ']2/7'. Thus, combined: 'nlouu**$$']2/7'
Adding the first vector to this string will convert it to the integer vector:[105, 110, 112, 117, 116, 40, 39, 39, 41, 94, 50, 46, 53]evalimplicitly converts this to a string, and these numbers just so happens to be:input('')^2.5