Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics