A recording medium on which there is recorded as a program the procedure which is followed by an m-th one of M participant devices, where m=1, 2, . . . , M, in a quantitative competition method for a system in which said M participant devices send their aimed values to a server device and said server device determines which of said M participant devices has offered the maximum or minimum one of said aimed values received, and there is provided a conversion table showing the relationships between a sequence of values selectable as said aimed values and a sequence of indexes k of integral values respectively corresponding thereto, letting the initial value of said each participant device be represented by IVm, said procedure comprising the steps of:
- (a) generating Hm(K)=hK−km(gxm(IVm)) as said aimed value information using a predetermined positive integer xm, an initial value IVm and one-way functions h and g, and sends said aimed value information to said server device;
- (b-1) decides whether its received index k from said server device is the index km corresponding to said aimed value;
- (b-2) if the result of decision in step (b-1) is k=km, generating Hm(k−1)=gxm−1(IVm) as said updated initial value and sending said updated initial value to said server device together with a flag indicating that said k and km are equal;
- and
- (b-3) if the result of decision in said step (b-1) is not k=km, generating and sending Hm(k−1)=hk−km−1(gxm(IVm)) as said updated initial value to said server device.