程序说明
Python输出42
示例代码
reduce(lambda x, y: x ^ ord(y), 'Life, the universe and everything', 6 * 9)
程序说明
Python输出42
示例代码
reduce(lambda x, y: x ^ ord(y), 'Life, the universe and everything', 6 * 9)
程序说明
JavaScript输出42
示例代码
/////////////////////////
++[ ++[++
[ ++[ [] ][
+[ ]]] [+ []
]] [+[ ]]
][+[]]+[++[ ++
[[] ][
+[] ]][+[]]]+[]
/////////////////////////