记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:17:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
   17 |         scanf("%d%d",&a,&b);
      |                ~^    ~~
      |                 |    |
      |                 |    float *
      |                 int *
      |                %e
foo.c:17:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'float *' [-Wformat=]
   17 |         scanf("%d%d",&a,&b);
      |                  ~^     ~~
      |                   |     |
      |                   int * float *
      |                  %e
foo.c: In function 'fib':
foo.c:12:16: warning: 'a3' may be used uninitialized [-Wmaybe-uninitialized]
   12 |         return a3;
      |                ^~
foo.c:4:23: note: 'a3' was declared here
    4 |         int a1=1,a2=1,a3,count=0;
      |                       ^~
In function 'fib',
    inlined from 'main' at foo.c:21:11:
foo.c:12:16: warning: 'a3' may be used uninitialized [-Wmaybe-uninitialized]
   12 |         return a3;
      |                ^~
foo.c: In function 'main':
foo.c:4:23: note: 'a3' was declared here
    4 |         int a1=1,a2=1,a3,count=0;
      |                       ^~
In function 'fib',
    inlined from 'main' at foo.c:21:20:
foo.c:12:16: warning: 'a3' may be used uninitialized [-Wmaybe-uninitialized]
   12 |         return a3;
      |                ^~
foo.c: In function 'main':
foo.c:4:23: note: 'a3' was declared here
    4 |         int a1=1,a2=1,a3,count=0;
      |                       ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > NO \ No newline at end o 1ms 284.0 KiB
#2 Wrong Answer Read Yes, expect YES. 2ms 204.0 KiB
#3 Wrong Answer 0a1 > NO \ No newline at end o 1ms 284.0 KiB
#4 Wrong Answer 0a1 > YES \ No newline at end 2ms 284.0 KiB
#5 Wrong Answer 0a1 > NO \ No newline at end o 2ms 208.0 KiB
#6 Wrong Answer Read Yes, expect YES. 2ms 284.0 KiB
#7 Wrong Answer 0a1 > NO \ No newline at end o 2ms 284.0 KiB
#8 Wrong Answer Read Yes, expect YES. 2ms 204.0 KiB
#9 Wrong Answer 0a1 > NO \ No newline at end o 2ms 284.0 KiB
#10 Wrong Answer 0a1 > YES \ No newline at end 2ms 200.0 KiB

信息

递交者
类型
递交
题目
P1486 E. 小季的刑期
语言
C
递交时间
2023-10-16 19:50:00
评测时间
2023-10-16 19:50:00
评测机
分数
0
总耗时
21ms
峰值内存
284.0 KiB