/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:8:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
    8 |     printf("%d\n",round(log(i)/log(3)));
      |             ~^    ~~~~~~~~~~~~~~~~~~~~
      |              |    |
      |              int  double
      |             %f
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 1ms 284.0 KiB
#2 Wrong Answer Read 0, expect 2. 2ms 204.0 KiB
#3 Wrong Answer Read 0, expect 3. 2ms 284.0 KiB
#4 Wrong Answer Read 0, expect 4. 2ms 284.0 KiB
#5 Wrong Answer Read 0, expect 5. 1ms 284.0 KiB
#6 Wrong Answer Read 0, expect 7. 1ms 284.0 KiB
#7 Wrong Answer Read 0, expect 9. 2ms 284.0 KiB
#8 Wrong Answer Read 0, expect 13. 1ms 200.0 KiB
#9 Wrong Answer Read 0, expect 15. 1ms 284.0 KiB
#10 Wrong Answer Read 0, expect 13. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P1361 天平称量
语言
C
递交时间
2023-09-26 21:04:10
评测时间
2023-09-26 21:04:10
评测机
分数
0
总耗时
20ms
峰值内存
284.0 KiB