set "num1=qwer/asdf2/asd34f/1234567890123456/asdf/aaaa"
set "num2=aaaaa2/23456789012345678/asdfssasd/asdaa"
Goal: Extract the combinations of pure numbers from the above two conditions, calculate the sum of these two numbers, and then output the result correctly to the screen. (Only one subroutine can be used to extract the above two strings, because it is for testing, only two string combinations are given)
Writing conditions: cmd (commands included in help)
Difficulty: Overflow in digit position and calculation of random numbers
Target audience: People with certain batch processing foundation.
The challenge will gradually increase in difficulty. (Everyone try to do what you can)
Writing points reward: 3 points.
One point for completing the extraction task, two points for completing the calculation task.
Adding points is not the purpose. It is an affirmation of ability.
The second floor correctly obtained the random string, but there was a problem in the processing calculation.
The output is in scientific notation. But the requirement is: output the exact value. (Complete the first item, add one point)
[ Last edited by flyinspace on 2007-4-30 at 01:19 PM ]
set "num2=aaaaa2/23456789012345678/asdfssasd/asdaa"
Goal: Extract the combinations of pure numbers from the above two conditions, calculate the sum of these two numbers, and then output the result correctly to the screen. (Only one subroutine can be used to extract the above two strings, because it is for testing, only two string combinations are given)
Writing conditions: cmd (commands included in help)
Difficulty: Overflow in digit position and calculation of random numbers
Target audience: People with certain batch processing foundation.
The challenge will gradually increase in difficulty. (Everyone try to do what you can)
Writing points reward: 3 points.
One point for completing the extraction task, two points for completing the calculation task.
Adding points is not the purpose. It is an affirmation of ability.
The second floor correctly obtained the random string, but there was a problem in the processing calculation.
The output is in scientific notation. But the requirement is: output the exact value. (Complete the first item, add one point)
[ Last edited by flyinspace on 2007-4-30 at 01:19 PM ]
知,不觉多。不知,乃求知

