Compile Error
/in/foo.c:1:1: error: unknown type name 'def' def gcd(n1,n2): ^~~ /in/foo.c: In function 'gcd': /in/foo.c:1:15: error: expected declaration specifiers before ':' token def gcd(n1,n2): ^ /in/foo.c:1:5: warning: type of 'n1' defaults to 'int' [-Wimplicit-int] def gcd(n1,n2): ^~~ /in/foo.c:1:5: warning: type of 'n2' defaults to 'int' [-Wimplicit-int] /in/foo.c:7:1: warning: control reaches end of non-void function [-Wreturn-type] print(int(a*b/gcd(a,b))) ^~~~~
信息
- 递交者
- 类型
- 递交
- 语言
- C
- 递交时间
- 2019-01-13 20:15:09
- 评测时间
- 2019-01-13 20:15:09
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes