1. A semiconductor integrated circuit, comprising: a first resistive-change element including one end having a first polarity connected to a first power source, the first resistive-change element including another end having a second polarity connected to a first output node; a second resistive-change element including one end having the second polarity connected to the first output node; a first switching element including a first terminal connected to another end of the second resistive-change element, the first switching element including a second terminal connected to a second power source; a fifth switching element including a first terminal connected to the first output node, the fifth switching element including a second terminal connected to an output terminal; a third resistive-change element including one end having the first polarity connected to a third power source, the third resistive-change element including another end having the second polarity connected to a second output node; a fourth resistive-change element including one end having a second polarity connected to the second output node; a sixth switching element including a first terminal connected to another end of the fourth resistive-change element, the sixth switching element including a second terminal connected to a fourth power source; a seventh switching element including a first terminal connected to the second output node, the seventh switching element including a second terminal connected to the output terminal; and a second inverting circuit connected to a control terminal of the fifth switching element and a control terminal of the seventh switching element.