一位公主的年龄等于王子未来的年龄,当公主的年龄是王子过去年龄的两倍时,公主当时的年龄是他们现在年龄总和的一半。请问公主和王子的年龄各是多少?

(A princess is as old as the prince will be when the princess is twice as old as the prince was when the princess's age was half the sum of their present age.
What is the age of prince and princess? )

这样的题目作为人类也要思考一阵。看看 OpenAI o1-preview 是如何解答的。