中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-10 12:31
47,815 topics / 349,930 posts / today 0 new / 48,291 members
DOS批处理 & 脚本技术(批处理室) » [Discussion][Exploration] Using batch processing to make interesting math problems
Printable Version  40,592 / 139
Floor61 ccwan Posted 2006-11-18 05:41
金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊
Fame and fortune are external things; what matters is to acquire knowledge.
Floor62 NaturalJ0 Posted 2006-11-18 05:54
银牌会员 Posts 533 Credits 1,181
Marked as (Essence) for easier finding. ^_^
Floor63 不得不爱 Posted 2006-11-18 07:46
超级版主 Posts 2,044 Credits 5,310 From 四川南充
Originally posted by namejm at 2006-11-17 16:27:
It might be that some moderator operated improperly and removed the essence, and now it is re-added as essence. However, there is a little regret that the original poster of this post was zouzhxi, but when returning to the post list interface to look...

It's not that the essence was removed, but that the PID was changed when merging topics. Oh, my.
Floor64 youxi01 Posted 2006-11-19 00:07
高级用户 Posts 247 Credits 846 From 湖南==》广东
Let's attack the "castle" again. First, release my calculation results and see if the answers are correct first?!

Question 19, 10 digits; this should be no problem, 9 sixes and one 2.

Question 20, 14, 10, 35 (the problem of the least common multiple)

Question 21, 1.8 degrees

Looking forward to the building owner's reply.
Floor65 不得不爱 Posted 2006-11-19 00:59
超级版主 Posts 2,044 Credits 5,310 From 四川南充
### 第19题:
Floor66 不得不爱 Posted 2006-11-19 01:06
超级版主 Posts 2,044 Credits 5,310 From 四川南充
**第20题:**
Floor67 zouzhxi Posted 2006-11-19 02:12
中级用户 Posts 177 Credits 430 From 广东深圳
The first two questions are correct. As for the last question? Since it's not the question I made, I'm also calculating it, and I don't know if the result is correct!!!
Floor68 youxi01 Posted 2006-11-19 07:07
高级用户 Posts 247 Credits 846 From 湖南==》广东
Question 21 write the corresponding code, I can't, but I can talk about my thinking:
1>First of all, it should be clear that the mass of a cup of water can be ignored compared to a basin of water.
Suppose the temperature of the hot water in the cup drops by X degrees at the very beginning, then it drops by X-3 degrees for the second time
According to the physics formula: Q=cm△t, we can know:
3/5=(X-3)/X
Solve for X=7.5
2>Let the temperature of the water in the basin rise by a degree when heating water for the third time, then:
a/3=(4.5-a)/4.5
Solve for a=1.8

This is the thinking of the above problem, but unfortunately, I can't make it automatically complete with a computer.
Floor69 zouzhxi Posted 2006-11-20 03:22
中级用户 Posts 177 Credits 430 From 广东深圳
????
I haven't written it out yet...
!!!
Floor70 不得不爱 Posted 2006-11-21 00:22
超级版主 Posts 2,044 Credits 5,310 From 四川南充
The calculation method on floor 68 should be wrong, right? Where does 4.5 come from?
Floor71 zouzhxi Posted 2006-11-21 00:40
中级用户 Posts 177 Credits 430 From 广东深圳
I still can't write it with BAT... I don't know if any expert can post the code for reference!!!
Floor72 youxi01 Posted 2006-11-21 01:27
高级用户 Posts 247 Credits 846 From 湖南==》广东
The 4.5 on the 68th floor is based on 7.5 - 3, that's because for the first time, there was a problem with the hot water, and it was cooled down by 3 degrees the first time.
Floor73 NaturalJ0 Posted 2006-11-21 03:10
银牌会员 Posts 533 Credits 1,181
The standard answer is to rise another 2 degrees.
Floor74 youxi01 Posted 2006-11-21 05:39
高级用户 Posts 247 Credits 846 From 湖南==》广东
According to physics, it's impossible!

Could it really be a so-called primary school problem, and we've artificially made it complicated!
Floor75 NaturalJ0 Posted 2006-11-21 05:50
银牌会员 Posts 533 Credits 1,181
It's a junior high school problem. This problem doesn't seem suitable for solving with a program.
Prev  1 … 2 3 4 5 6 7 8 … 10  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023