记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'def'
    1 | def piecewise_function(x):
      | ^~~
/in/foo.c: In function 'piecewise_function':
/in/foo.c:1:26: error: expected declaration specifiers before ':' token
    1 | def piecewise_function(x):
      |                          ^
/in/foo.c:8:12: error: stray '#' in program
    8 |     else:  # x >= 25
      |            ^
/in/foo.c:1:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
    1 | def piecewise_function(x):
      |     ^~~~~~~~~~~~~~~~~~
/in/foo.c:16: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
比赛
2025-python-1-3
语言
C
递交时间
2025-03-30 15:22:25
评测时间
2025-03-30 15:23:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes