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)提供评测服务