index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a723.py
blob: 231ef5eef9f8bc5b8527ba1247e42140dfffd295 (
plain
)
1
2
3
def
get_carol
(
n
):
result
=
(
2
**
n
)
-
1
return
result
*
result
-
2