Skip to content

Calculates number of drops, which can remain after rain on specified relief

License

Notifications You must be signed in to change notification settings

timeking/remain-drop-volume

Repository files navigation

Remain drop volume on rainy hills

Calculating number of drops, which can remain after a rain on specified relief

Input: array of heights (integer) Output: volume of remain drops

e.g. Input: 3 2 4 1 2 Output: 2

Build project

To build project just start ./gradlew build

Start project with Docker

Go to build/docker folder and run script build-and-start.sh to run project on your docker

Usage

Open http://localhost:8080/remain-drop-volume/ and put array of heights in the textbox

About

Calculates number of drops, which can remain after rain on specified relief

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published