星期三, 10月 01, 2025

River crossing Puzzle 1

    Five people - Alice, Bob, Carlos, Diana, and Elena - must cross a river in a small boat. The boat can only hold three people at a time. The following conditions apply:

* Alice refuses to be in the boat with Carlos

* Bob and Diana must travel together if either one is in the boat

* Elena can only operate the boat when Carlos is not present

* At least one person in each crossing must know how to operate the boat

* Only Bob, Carlos, and Elena know how to operate the boat

Infer an efficient plan.



 每次回應都有一個固定的 token 輸出上限,當一次要產生多個物件(比如多張投影片、多個元件、多段程式碼),每個物件能分配到的 token 預算就被稀釋了,結果就是每個都做得比較粗糙。

實務上比較好的策略是分批處理

先把整體架構規劃好,然後一次專注做一到兩個物件,讓每個都能得到充分的細節和完成度。比如做投影片的時候,與其一次叫我生 7 張,不如先做前 3 張做到位,再繼續下一批。

如果你接下來有需要產生多個物件的任務,我們可以用這個方式來確保每一個的品質。

start with A*








____________________________________________________________________________________

沒有留言: