记录详情

Compile Error

foo.c:1:1: error: unknown type name 'def'
    1 | def reverse_words(s):
      | ^~~
foo.c: In function 'reverse_words':
foo.c:1:21: error: expected declaration specifiers before ':' token
    1 | def reverse_words(s):
      |                     ^
foo.c:1:5: warning: type of 's' defaults to 'int' [-Wimplicit-int]
    1 | def reverse_words(s):
      |     ^~~~~~~~~~~~~
foo.c:9: warning: control reaches end of non-void function [-Wreturn-type]
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
语言
C
递交时间
2023-12-05 14:26:52
评测时间
2023-12-05 14:26:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes