/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:18: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__promote_2<int, int, double, double>::__type' {aka 'double'} [-Wformat=]
    6 |         printf("%d",(int)n-(int)n/pow(2,k));
      |                 ~^  ~~~~~~~~~~~~~~~~~~~~~~
      |                  |        |
      |                  int      __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
      |                 %f
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 640, expect 1926. 3ms 256.0 KiB
#2 Wrong Answer Read 1152, expect 4990. 3ms 384.0 KiB
#3 Wrong Answer Read 640, expect 9686. 3ms 256.0 KiB
#4 Wrong Answer Read 1280, expect 19356. 3ms 256.0 KiB
#5 Wrong Answer Read 1152, expect 99561. 3ms 256.0 KiB

信息

递交者
类型
递交
题目
P1785 同学排序
语言
C++
递交时间
2022-08-12 19:02:22
评测时间
2022-08-12 19:02:22
评测机
分数
0
总耗时
15ms
峰值内存
384.0 KiB