
CodePudding user response:
By counting the date month and provedCodePudding user response:
The second floor of the code is wrong no reference value don't learnIn return ((& gt; 400? -- -=/400 * 400, years)? + 365 * ((year/4) - (year/100) + (400)/year) : 0);
The words belong to the wise
- 400-400/=*
UB is a bad practice
Different compiler environment's handling of the expression