Изменить 'du3/program.c'
This commit is contained in:
parent
61609b9b1c
commit
371d149163
@ -17,10 +17,10 @@ if(m%2!=0 && day>31){
|
||||
}
|
||||
if(m%2==0 && day>30){
|
||||
if(m==2 &&(y%400==0 ||(y%100!=0 && y%4==0))){
|
||||
day-=28;
|
||||
day-=29;
|
||||
}
|
||||
else if(m==2){
|
||||
day-=30;
|
||||
day-=28;
|
||||
}
|
||||
else{
|
||||
day-=30;
|
||||
|
Loading…
Reference in New Issue
Block a user