Save the CodeWars X39592


Statement
 

pdf   zip

html
Public test cases
  • Input

    10 2 12 5
    

    Output

    55 1 144 5
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Java Python