My group has money troubles X50796


Statement
 

pdf   zip

The HTML version of the statement is not available.

Public test cases
  • Input

    4
    Mary John 2000
    John James 3000
    Anna Mary 1000
    James Anna 300
    

    Output

    John receives 1000
    Mary receives 1000
    Anna receives 700
    James pays 2700
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Python