/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:14: warning: format '%hd' expects argument of type 'short int*', but argument 2 has type 'int*' [-Wformat=]
    7 |     scanf("%hd", &n);
      |            ~~^   ~~
      |              |   |
      |              |   int*
      |              short int*
      |            %d
foo.cc:14:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
   14 |         scanf("%d", set + i);
      |                ~^   ~~~~~~~
      |                 |       |
      |                 int*    short int*
      |                %hd
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 17. 4ms 412.0 KiB
#2 Wrong Answer Read 0, expect 15. 4ms 412.0 KiB
#3 Wrong Answer Read 1, expect 29. 4ms 412.0 KiB
#4 Wrong Answer Read 0, expect 17. 3ms 412.0 KiB
#5 Wrong Answer Read 0, expect 17. 4ms 284.0 KiB
#6 Wrong Answer Read 1, expect 20. 4ms 412.0 KiB
#7 Wrong Answer Read 0, expect 21. 3ms 328.0 KiB
#8 Wrong Answer Read 0, expect 16. 3ms 284.0 KiB
#9 Wrong Answer Read 0, expect 19. 3ms 412.0 KiB
#10 Wrong Answer Read 0, expect 26. 4ms 328.0 KiB

信息

递交者
类型
递交
题目
P1911 珠心算测验
语言
C++
递交时间
2023-10-12 17:24:09
评测时间
2023-10-12 17:24:09
评测机
分数
0
总耗时
41ms
峰值内存
412.0 KiB