记录详情

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:11:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   11 |   b[j++] = fibo(a[i])  ;
      |   ~~~~~~~^~~~~~~~~~~~
foo.c: In function 'fibo':
foo.c:29:9: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |  return c;
      |         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 237ms 256.0 KiB
#2 Runtime Error Aborted 660ms 376.0 KiB
#3 Runtime Error Aborted 1119ms 376.0 KiB
#4 Runtime Error Aborted 1504ms 376.0 KiB
#5 Runtime Error Aborted 2014ms 264.0 KiB
#6 Runtime Error Segmentation fault 4ms 256.0 KiB
#7 Runtime Error Aborted 2752ms 380.0 KiB
#8 Runtime Error Segmentation fault 1ms 256.0 KiB
#9 Runtime Error Segmentation fault 1ms 256.0 KiB
#10 Runtime Error Segmentation fault 2ms 256.0 KiB
#11 Runtime Error Segmentation fault 3ms 256.0 KiB
#12 Runtime Error Segmentation fault 2ms 256.0 KiB
#13 Runtime Error Segmentation fault 2ms 256.0 KiB
#14 Runtime Error Segmentation fault 2ms 256.0 KiB
#15 Runtime Error Segmentation fault 2ms 384.0 KiB
#16 Runtime Error Segmentation fault 2ms 384.0 KiB
#17 Runtime Error Segmentation fault 2ms 256.0 KiB
#18 Runtime Error Segmentation fault 2ms 384.0 KiB
#19 Runtime Error Segmentation fault 2ms 256.0 KiB
#20 Runtime Error Segmentation fault 1ms 256.0 KiB

信息

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