UVa 13242 題解 — C++
:::info
:bulb: 此筆記為UVa 13242的題目詳解,包含解題思路、C++範例程式碼。
:::
Pool Filling (OnlineJudge 13242)
題目
:::success
There is an empty pool that needs to be filled with water at a desired temperature. To do this, you have a row of jars placed near the border of the pool and numbered starting at 0. Each jar contains a different volume of water at a different temperature. You can pour as many jars as you want to the pool, but only if they are consecutive.
UVa 10815 題解 — C++
:::info
:bulb: 此筆記為UVa 10815的題目詳解,包含解題思路、C++範例程式碼。
:::
Andy's First Dictionary (OnlineJudge 10815)
題目
:::success
Andy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of words that he knows is, well, not quite enough. Instead of thinking up all the words himself, he has a briliant idea. From his bookshelf he would pick one of his favourite story books, from which he would copy out all the distinct words. By arranging the words in alphabetical order, he is done! Of course, it is a really time-consuming job, and this is where a computer program is helpful.