Black holes and the weak cosmic censorship