Antheias Garden – Chapter 1
Code Solutions on GitHub โ
Antheias Garden
Antheia was walking through a colorful garden and somehow had an odd feeling that there is something missing. There was a tree ๐ณ, many stones ๐ชจ, even some lizards ๐ฆ which already found their way into this odoriferous spot.
A pond ๐! Antheia was powerful enough to wish a tiny pond into existence. Minutes later, some rainbow trouts already found a new home.
But now waiting until water lilies are fully grown? Not really necessary, as every day the water lilies double themselves anyway.
There was just a full-moon ๐ and Antheia could get back when the moon fully shines again. For today Antheia just puts one beautiful water lily into the pond.
How many water lilies will Antheia see when she returns on the next full-moon ๐?
Hints:
- Between two full moons are roughly 29 days.
- Antheia puts one lily into the water, after 1 day there are 2 lilies, after 2 days there are 4 lilies, and so on …
- The solution has to be an integer (not a floating point number)
Category | story |
---|---|
Coding Level | beginner |
Coding Ideas | exponent |
Coding Languages | Code Solutions on GitHub โ |
Story Genre | historical fiction |
Story Content Key Words | greek goddess, moon, flowers, fish, pond |
Story License | CC BY-NC-SA 4.0 International |
Parental Rating | 6+ For Everyone |
How To Quote Story | (Noctiluca, adapted by StoryCoder.dev under CC BY-NC-SA 4.0 International) |
Picture License | null |
How to Quote Picture | (adapted by StoryCoder.dev under null) |
Available Solutions | C# – Erlang – Go – JavaScript – Python – Swift |
Title | Antheias Garden – Chapter 1 |
Author | Noctiluca |
Tags | 6+, beginner, c#, erlang, exponent, fish, flowers, go, greek goddess, historical fiction, javascript, moon, no-c, no-c++, no-clojure, no-dart, no-haskell, no-nim, no-perl, no-prolog, no-ruby, no-rust, no-typescript, no-zig, pond, python, story, swift |