China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-05 23:21
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] Guess the number game based on returning the correct number of digits and their counts View 2,484 Replies 16
Floor 16 Posted 2007-09-26 22:46 ·  中国 北京 西城区 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
I accept your apology!
I also apologize for my dismissive remarks on the 13th floor!

Seeing my work that took more than 10 working hours
First being put aside and ignored for a long time
Then simply being negated (in 10 minutes)
Especially half of the negative opinions in which I can't agree (the 2nd and 3rd pictures)
The mood will definitely not be very easy
So the reply was too playful and dismissive
It should also be understandable, right?

What you said is correct
Clarifying things in writing does avoid many problems
Sometimes a slip of a punctuation mark can also cause big problems

To avoid personal conflicts affecting the continuous expansion in the forum
It is suggested that the two of us jointly delete the replies from the 14th to this floor
There is a "delete this post" function in the edit
I will first delete my non-technical discussion reply on the 15th floor
After you browse and confirm, I will continue to delete this floor's reply

I have never participated in the internal group of this forum
I don't know much about its situation
And I have never put forward any hints or requirements to any member in it
You are not allowed to participate in it
There is part of the responsibility of my reply on the 15th floor
I express my regret for this
I hope the group administrator can reconsider

Regarding that R1 code
Although it was a leisure work
It also took a lot of time to debug (occupying 7/10 of the total time)
If there are any more problems
I guess it will be very difficult for me to find them myself
Since you found the problem
I hope you can spend some time tracking and debugging it
To help us solve the problem together
According to my guess, the problem point should not be difficult to find

For your topic
If no one puts forward an updated reverse guessing algorithm
I will not post new replies
Because I feel that the forward judgment algorithm doesn't have much room for discussion

[ Last edited by qzwqzw on 2007-9-26 at 11:30 PM ]
Floor 17 Posted 2007-09-26 23:08 ·  中国 北京 西城区 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Take another look at the screenshot. The only issues I can find are in the 1st and 4th ones. The 2nd one is because you entered an incorrect corresponding value. You should enter a two-digit number as per the prompt, like 20, not 2A0B or 5642. The 3rd one is probably to indicate that the waiting time is too long, which is normal. The time performance of the algorithm is originally very low. Although some optimizations have been done, there may still be a waiting time of nearly 1 to 3 minutes. If it completely freezes, there is a problem. It may be that the temporary number table is accidentally filtered into an empty table. This needs you to debug and judge. The problems with 1 and 4 are probably the same. It is very likely that the errorlevel in the UInput segment was not reset. I encountered this when dealing with another compatibility issue. http://www.cn-dos.net/forum/viewthread.php?tid=30968&fpage=1&page=3 Changing the extension of this batch file to.cmd should solve the problem. When I write my own code, I always use the.cmd extension for any use of cmd extension syntax that can't run in command. So I occasionally ignore some problems.

[ Last edited by qzwqzw on 2007-9-26 at 11:26 PM ]
Forum Jump: