A non-transitory computer readable medium storing a control program of a three-dimensional laminating and shaping apparatus including
- a material supplier that supplies materials of a three-dimensional laminated and shaped object to a shaping surface,
- an irradiator that irradiates the materials with a light beam, and
- a controller that controls the material supplier,
- wherein the three-dimensional laminated and shaped object is a joined member obtained by joining at least two kinds of materials,
- the program for causing a computer to execute a method, comprising:
- causing the controller to control the material supplier to form a graded composition of the materials in a boundary region of the three-dimensional laminated and shaped object.