foo.c: In function 'main':
foo.c:14:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(day>31)
| ^~
foo.c:16:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | if(yue>12)
| ^~
foo.c:5:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d%d%d", &year,&yue,&day);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d", &num);
| ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务