Attack of many eavesdroppers via optimal strategy in quantum cryptography