The stocktaking X85674


Statement
 

pdf   zip

html

Input

- First line the quantity of products, greater than 0. - Second line the quantity of boxes, greater than 0. - Third line the quantity of what was left.

Output

The output will be if the numbers are CORRECT (and the capacity of each box) or INCORRECT.

Public test cases
  • Input

    4528
    4
    0
    

    Output

    CORRECT, the capacity of each box is 1132
    
  • Input

    1234
    7
    0
    

    Output

    INCORRECT
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Haskell Java Python