Compile Error
/in/foo.c:1:1: error: unknown type name 'def'
    1 | def is_leap(year):
      | ^~~
/in/foo.c: In function 'is_leap':
/in/foo.c:1:18: error: expected declaration specifiers before ':' token
    1 | def is_leap(year):
      |                  ^
/in/foo.c:1:5: warning: type of 'year' defaults to 'int' [-Wimplicit-int]
    1 | def is_leap(year):
      |     ^~~~~~~
/in/foo.c:18: warning: control reaches end of non-void function [-Wreturn-type]
  信息
- 递交者
- 类型
- 递交
- 语言
- C
- 递交时间
- 2025-03-29 15:45:12
- 评测时间
- 2025-03-29 15:45:42
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes