记录详情

Runtime Error

foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
    2 | void main()
      |      ^~~~
foo.c: In function 'main':
foo.c:16:12: warning: 'return' with a value, in function returning void [-Wreturn-type]
   16 |     return 0;
      |            ^
foo.c:2:6: note: declared here
    2 | void main()
      |      ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Your program returned 34. 1ms 284.0 KiB
#2 Runtime Error Quit 1ms 284.0 KiB
#3 Runtime Error Your program returned 121. 2ms 284.0 KiB
#4 Runtime Error Your program returned 98. 2ms 272.0 KiB
#5 Runtime Error Your program returned 85. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
A2-2 循环结构入门:斐波拉契数列
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 19:46:47
评测时间
2023-08-15 19:46:47
评测机
分数
0
总耗时
10ms
峰值内存
284.0 KiB