Sherlock and Square

  • + 0 comments

    num can be as large as 10**9, think about taking power of a number in a fast way..