Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GPT-4 can adjust though? I asked the original question, it got it wrong. Then I said "But the lion eats cabbage and the goat eats lions". And GPT-4's response was:

---

Given this new information, where the lion eats cabbage and the goat eats lions, you can follow these steps to get them all across the river safely:

Take the lion across the river first and leave it on the other side.

Go back across the river and get the cabbage.

Take the cabbage across the river, but when you arrive, take the lion back with you to the original side.

Leave the lion on the original side and take the goat across the river.

Leave the goat with the cabbage on the other side and go back to get the lion.

Finally, take the lion across the river again.

Now, all three items - the cabbage, goat, and lion - are safely on the other side of the river.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: