complete 26083.c

This commit is contained in:
yenru0 committed 2024-07-13 20:02:25 +09:00
1 parent 320622f0bb
commit e193016a78
1 file changed
+4 -4
+4 -4
View File
@@ -56,7 +56,7 @@ int valid(Date *x, Date now) {
}
if (x->year < now.year) {
return 0;
} else if(x->year > now.year) {
} else if (x->year > now.year) {
return 1;
}
@@ -64,11 +64,11 @@ int valid(Date *x, Date now) {
return 0;
} else if (x->month > now.month) {
return 1;
}
}
if(x->day < now.day) {
if (x->day < now.day) {
return 0;
} else if(x->day >= now.day) {
} else if (x->day >= now.day) {
return 1;
}