A non-transitory computer readable medium storing a control program of a three-dimensional laminating and shaping apparatus including
- a shaping chamber in which a three-dimensional laminated and shaped object is shaped,
- at least two material spreaders that are provided in the shaping chamber and spread materials of the three-dimensional laminated and shaped object,
- at least two material suppliers that supply the materials to the material spreaders,
- a controller that controls movements of the material spreaders, and
- a beam irradiator that irradiates the materials with a beam,
- wherein the material spreaders and the material suppliers are respectively paired,
- the program for causing a computer to execute a method, comprising:
- controlling the movements of the material spreaders so that each of the material spreaders is supplied, at a predetermined timing, with the material from a paired one of the material suppliers.