The floodwaters inundated two-thirds of Dhaka, a city of some 10 million people, and three-quarters of Bangladesh.