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