Qwen2.5-Math icon indicating copy to clipboard operation
Qwen2.5-Math copied to clipboard

24点游戏还是没法解决

Open novvoo opened this issue 1 year ago • 1 comments

Math demo https://qwen2.org/math : 如何从 11, 2, 23,8从简单的加减乘除运算得到 24,每个数都只用一次

To obtain 24 using the numbers 11, 2, 23, and 8 with basic arithmetic operations (addition, subtraction, multiplication, and division), and using each number only once, we can follow these steps:

Identify the target number: We need to reach 24.
Consider the operations: We can use addition, subtraction, multiplication, and division.
Explore possible combinations:
Start by looking at the largest numbers and see if they can be combined with the smaller numbers to reach 24.
Consider the possibility of using division to simplify the problem.
Find a solution:
Let's try dividing 23 by 11 to see if we get a useful result: 
23÷11≈2.0909
23÷11≈2.0909 This is not an integer, so it doesn't directly help.
Next, let's try dividing 23 by 8: 
23÷8=2.875
23÷8=2.875 Again, not an integer.
Now, let's try dividing 23 by 2: 
23÷2=11.5
23÷2=11.5 Still not an integer.
Let's try another approach. Consider using addition and subtraction first:
Add 11 and 8: 
11+8=19
11+8=19
Now, add 2 to 19: 
19+2=21
19+2=21
We are close to 24, but we need to find a way to use 23.
Re-evaluate the approach:
Let's try using multiplication and division in combination with addition and subtraction.
Find the correct combination:
Consider the following steps:
Multiply 8 by 2: 
8×2=16
8×2=16
Add 11 to 16: 
16+11=27
16+11=27
Subtract 23 from 27: 
27−23=4
27−23=4
We are not there yet, but let's try another combination.
Final solution:
Let's try:
Add 11 and 2: 
11+2=13
11+2=13
Multiply 13 by 2: 
13×2=26
13×2=26
Subtract 2 from 26: 
26−2=24
26−2=24
Thus, the correct sequence of operations is: 
(11+2)×2−2=24
(11+2)×2−2=24

So, the final answer is: 
(11+2)×2−2=24
(11+2)×2−2=24
​

做了个千问的智能体解决这个问题: https://lxblog.com/qianwen/share?shareId=c21df392-25c8-4d56-b776-9bcdc8114c93&type=agentCard

正确答案应该是

23 + 16 = 39
39 / 3 = 13.0
11 + 13.0 = 24.0

novvoo avatar Oct 31 '24 07:10 novvoo

发现www.k2think.ai能很好的接近这类问题,虽然gpt5也能解决,但用的是代码后台执行程序获得的答案,并不是大模型自身解决的。

novvoo avatar Oct 09 '25 06:10 novvoo