Periodic numbers X61067


Statement
 

pdf   zip

The HTML version of the statement is not available.

Public test cases
  • Input

    142857
    

    Output

    The number 142857 is NOT periodic
    
  • Input

    1212
    

    Output

    The number 1212 is periodic and its period is 12
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    C++ Python
    User solutions
    C++ Python