记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
    7 |  scanf("%f%d",&x,&k);
      |           ~^     ~~
      |            |     |
      |            int * long long int *
      |           %lld
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%f%d",&x,&k);
      |  ^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -0, expect 3. 1ms 256.0 KiB
#2 Wrong Answer Read -0, expect 3.142. 1ms 256.0 KiB
#3 Wrong Answer Read -0, expect 3.140000000. 2ms 256.0 KiB
#4 Wrong Answer Read -0, expect 1.3. 1ms 256.0 KiB

信息

递交者
类型
自测
题目
P1305 B. Round Decimal
语言
C
递交时间
2021-12-23 18:06:10
评测时间
2021-12-23 20:01:12
评测机
分数
0
总耗时
6ms
峰值内存
256.0 KiB