The present invention provides a stimulus presentation system which determines a mental state and changes presentation contents of a problem based on the determined mental state. The system determines the mental state by measuring gaze and cerebral function of a user, and changes presentation contents of a problem based on the determined mental state.