Circle of primes X49432


Statement
 

pdf   zip

The HTML version of the statement is not available.

Public test cases
  • Input

    3
    5 9 17
    

    Output

    The circle can be completed.
    The circle cannot be completed. Container/s 6, won't be prepared.
    The circle can be completed.
    
  • Input

    2
    22 23
    

    Output

    The circle cannot be completed. Container/s 4, 6, 8, 10, 12, 14, 16, 18, 20, won't be prepared.
    The circle can be completed.
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Python