记录详情

Runtime Error

foo.c: In function 'main':
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:8:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |   scanf("%d", &a[i]);
      |   ^~~~~~~~~~~~~~~~~~
foo.c: In function 'fibo':
foo.c:17:20: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   17 |  int a = 0, b = 1, c, i;
      |                    ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 53ms 256.0 KiB
#2 Runtime Error Aborted 88ms 376.0 KiB
#3 Runtime Error Aborted 153ms 376.0 KiB
#4 Runtime Error Segmentation fault 1ms 256.0 KiB
#5 Runtime Error Segmentation fault 1ms 256.0 KiB
#6 Runtime Error Aborted 198ms 376.0 KiB
#7 Runtime Error Segmentation fault 1ms 256.0 KiB
#8 Runtime Error Aborted 266ms 376.0 KiB
#9 Runtime Error Segmentation fault 3ms 256.0 KiB
#10 Runtime Error Segmentation fault 1ms 256.0 KiB
#11 Runtime Error Segmentation fault 1ms 256.0 KiB
#12 Runtime Error Segmentation fault 1ms 384.0 KiB
#13 Runtime Error Segmentation fault 2ms 256.0 KiB
#14 Runtime Error Segmentation fault 1ms 384.0 KiB
#15 Runtime Error Segmentation fault 1ms 384.0 KiB
#16 Runtime Error Segmentation fault 2ms 384.0 KiB
#17 Runtime Error Segmentation fault 1ms 256.0 KiB
#18 Runtime Error Segmentation fault 2ms 256.0 KiB
#19 Runtime Error Segmentation fault 1ms 384.0 KiB
#20 Runtime Error Segmentation fault 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1364 6A 斐波那契数列
语言
C
递交时间
2022-05-30 10:43:34
评测时间
2022-05-30 10:43:34
评测机
分数
0
总耗时
790ms
峰值内存
384.0 KiB