记录详情

Compile Error

foo.c:1:1: error: unknown type name 'def'
    1 | def impedance():
      | ^~~
foo.c: In function 'impedance':
foo.c:1:16: error: expected declaration specifiers before ':' token
    1 | def impedance():
      |                ^
foo.c:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('{}'.format(round(R, 2)))
      |           ^~~~
foo.c:7:16: warning: character constant too long for its type
    7 | if __name__ == '__main__':
      |                ^~~~~~~~~~
foo.c:9: warning: control reaches end of non-void function [-Wreturn-type]
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1005 计算并联电阻的阻值
语言
C
递交时间
2022-08-17 16:28:54
评测时间
2022-08-17 16:28:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes