/in/foo.c:1:1: error: unknown type name 'def'
1 | def get_days_in_month(month, year):
| ^~~
/in/foo.c: In function 'get_days_in_month':
/in/foo.c:1:35: error: expected declaration specifiers before ':' token
1 | def get_days_in_month(month, year):
| ^
/in/foo.c:3:11: error: invalid preprocessing directive #\U000068c0\U000067e5\U0000662f\U00005426\U0000662f\U000095f0\U00005e74
3 | # 检查是否是闰年
| ^~~~~~~~~~~~~~
/in/foo.c:13:3: error: invalid preprocessing directive #\U000083b7\U000053d6\U00007528\U00006237\U00008f93\U00005165
13 | # 获取用户输入
| ^~~~~~~~~~~~
/in/foo.c:1:5: warning: type of 'month' defaults to 'int' [-Wimplicit-int]
1 | def get_days_in_month(month, year):
| ^~~~~~~~~~~~~~~~~
/in/foo.c:1:5: warning: type of 'year' defaults to 'int' [-Wimplicit-int]
/in/foo.c:20: warning: control reaches end of non-void function [-Wreturn-type]