Random weighting estimation for survival function under right censorship