Reference answer
Malaysia has X, China has Y and Pony has Z (obviously these three unknowns are all positive integers or 0).
Two equations can then be listed:
x+y+z= 100
3x+2y+z/2= 100
At the same time, we can get the range of three unknowns x, y and z, x, Y [0 0,50], z[0, 100].
Then the unknown number z is eliminated according to the above two equations.
5x+3y= 100
Divide the unknown into two sides of the equal sign
Y=( 100-5x)/3, the combination of X and Y is solved by iterative method, because both X and Y are positive integers or 0, so the combination is less, as follows:
x=2,y=30
x=5,y=25
x=8,y=20
x= 1 1,y= 15
x= 14,y= 10
x= 17,y=5
x=20,y=0
Bringing the above combination into the previous equation,
You can get z:
x=2,y=30,z=68
x=5,y=25,z=70
x=8,y=20,z=72
x= 1 1,y= 15,z=74
x= 14,y= 10,z=76
x= 17,y=5,z=78
x=20,y=0,z=80