Compile Error
/in/foo.c:1:1: error: unknown type name 'def' def factorial_sum(n): ^~~ /in/foo.c: In function 'factorial_sum': /in/foo.c:1:21: error: expected declaration specifiers before ':' token def factorial_sum(n): ^ /in/foo.c:1:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int] def factorial_sum(n): ^~~~~~~~~~~~~ /in/foo.c:12:1: warning: control reaches end of non-void function [-Wreturn-type] print(result) ^~~~~
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2024-11-24 21:33:14
- 评测时间
- 2024-11-24 21:33:14
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes