Disclosure
View as PDF
Submit solution
Points:
10
Time limit:
0.6s
Memory limit:
64M
Author:
Problem type
Allowed languages
Python
is not feeling well today, and so has decided to create a painful challenge for you.
You are given the following function x:
def outer():
secret = <some special value you do not know>
def inner():
<does some magic with secret>
return inner
x = outer()
del outer
You are to somehow obtain secret from x. Your code will be run after the above block of code.
To make your life harder, decided that you should not be able to use import, or any other builtin for that matter. Obviously, you will be allowed to access print.
Input Specification
There will not be input.
Output Specification
The str representation of the secret variable.
Comments