Goal: After entering any date, calculate the time period before or after this date.
For example: Date 2007-03-31 3 is to query the date 3 days later.
Language requirements for writing: cmd (commands included in help) vbs (no cdate-like functions can be used, no system API functions can be called), no temporary files can be generated.
Limitations: No third-party tools can be used
Target audience: Those who have learned batch processing but haven't been able to apply it flexibly. I hope these people can quickly learn the calculation skills of batch processing through these examples..
Difficulty: Nested variables, addition and subtraction of dates, use of command line parameters (no parameter detection is required), overflow handling of different sizes of values.
Target points: 1 point for completing each item, 4 points for completing all four items or 4 points.
ps: Points are not the goal.. The important thing is that we can complete such challenges.
Please everyone do your best to write according to your ability: )
________________________________________________________
The next issue of the topic will be launched every Monday.
Our challenges will gradually increase in difficulty, please do it according to your ability.
Personal code is on the first floor.
————————————————————————————————————
Download of part of the content of the first three issues of the challenge
[ Last edited by flyinspace on 2007-4-30 at 06:29 PM ]
For example: Date 2007-03-31 3 is to query the date 3 days later.
Language requirements for writing: cmd (commands included in help) vbs (no cdate-like functions can be used, no system API functions can be called), no temporary files can be generated.
Limitations: No third-party tools can be used
Target audience: Those who have learned batch processing but haven't been able to apply it flexibly. I hope these people can quickly learn the calculation skills of batch processing through these examples..
Difficulty: Nested variables, addition and subtraction of dates, use of command line parameters (no parameter detection is required), overflow handling of different sizes of values.
Target points: 1 point for completing each item, 4 points for completing all four items or 4 points.
ps: Points are not the goal.. The important thing is that we can complete such challenges.
Please everyone do your best to write according to your ability: )
________________________________________________________
The next issue of the topic will be launched every Monday.
Our challenges will gradually increase in difficulty, please do it according to your ability.
Personal code is on the first floor.
————————————————————————————————————
Download of part of the content of the first three issues of the challenge
[ Last edited by flyinspace on 2007-4-30 at 06:29 PM ]
Attachments
知,不觉多。不知,乃求知

