/ 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))+1);
      |             ~^    ~~~~~~~~~~~~~~~~~~~~~~
      |              |                        |
      |              int                      double
      |             %f
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 1. 2ms 284.0 KiB
#2 Wrong Answer Read 0, expect 2. 2ms 284.0 KiB
#3 Wrong Answer Read 0, expect 3. 1ms 204.0 KiB
#4 Wrong Answer Read 0, expect 4. 1ms 284.0 KiB
#5 Wrong Answer Read 0, expect 5. 2ms 284.0 KiB
#6 Wrong Answer Read 0, expect 7. 2ms 284.0 KiB
#7 Wrong Answer Read 0, expect 9. 1ms 284.0 KiB
#8 Wrong Answer Read 0, expect 13. 2ms 284.0 KiB
#9 Wrong Answer Read 0, expect 15. 2ms 284.0 KiB
#10 Wrong Answer Read 0, expect 13. 2ms 284.0 KiB

信息

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