记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'def'
 def rabbit(n):
 ^~~
/in/foo.c: In function 'rabbit':
/in/foo.c:1:14: error: expected declaration specifiers before ':' token
 def rabbit(n):
              ^
/in/foo.c:1:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
 def rabbit(n):
     ^~~~~~
/in/foo.c:10:1: warning: control reaches end of non-void function [-Wreturn-type]
 print(rabbit(int(input())))
 ^~~~~

信息

递交者
类型
递交
题目
1407兔子繁殖问题
语言
C
递交时间
2019-06-25 17:19:22
评测时间
2019-06-25 17:19:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes