Created
November 22, 2010 13:45
-
-
Save touyou/709993 to your computer and use it in GitHub Desktop.
python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*-coding:utf-8-*- | |
def main(): | |
i = input() | |
while True: | |
i = i*i | |
if i >= 10^100: | |
return False | |
if __name__ = "__main__": main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment