Flood Area Flood Area
Simple
RU English

Your task is to simulate a flood damage.

You are given a cross-section diagram (a string). It represents slopes and flatlands by '/', '\' and '_' respectively. For example, the region of the following picture is shown by a string "/\\///\_/\/\\\\/_/\\///__\\\_\\/_\/_/".

Assume...

You should be an authorized user in order to see the full description and start solving this mission.