/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'void work()':
foo.cc:10:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
   10 |  scanf("%d%s",&n ,s); k=0;
      |         ~^    ~~
      |          |    |
      |          int* char*
      |         %hhd
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |  scanf("%d%s",&n ,s); k=0;
      |  ~~~~~^~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1, expect 4. 2ms 256.0 KiB
#2 Wrong Answer Read -9, expect 16888. 2ms 256.0 KiB
#3 Wrong Answer Read 0, expect 10. 3ms 256.0 KiB
#4 Wrong Answer Read -1, expect 2. 2ms 256.0 KiB
#5 Wrong Answer Read 1, expect 2. 2ms 256.0 KiB
#6 Wrong Answer Read 0, expect 2. 3ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Wrong Answer Read -11, expect 3. 2ms 256.0 KiB
#9 Wrong Answer Read -42, expect 2. 2ms 256.0 KiB
#10 Wrong Answer Read -85, expect 3. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1413 争执
题目数据
下载
语言
C++
递交时间
2022-07-27 17:04:40
评测时间
2022-07-27 17:04:40
评测机
分数
10
总耗时
27ms
峰值内存
256.0 KiB