1. An integrated circuit apparatus, comprising: a variable resistor made of a material that changes its resistance, according to cumulative number of times a pulse voltage was applied, and holds the resistance in a nonvolatile manner; and arithmetic means for performing an arithmetic operation, based on an input signal converted by said variable resistor, and outputting a predetermined output signal when a result of the operation exceeds a predetermined value.