/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:30:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[111]' [-Wformat=]
   30 |             scanf("%s",&st[i]+1);
      |                    ~^  ~~~~~~~~
      |                     |        |
      |                     char*    char (*)[111]
foo.cc:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   26 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:30:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   30 |             scanf("%s",&st[i]+1);
      |             ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read 16, expect 63. 9ms 384.0 KiB
#3 Wrong Answer Read 16, expect 64. 3ms 384.0 KiB
#4 Wrong Answer Read 14, expect 69. 3ms 384.0 KiB
#5 Wrong Answer Read 15, expect 55. 3ms 384.0 KiB
#6 Wrong Answer Read 5, expect 522. 3ms 384.0 KiB
#7 Wrong Answer Read 7, expect 485. 3ms 384.0 KiB
#8 Wrong Answer Read 9, expect 497. 4ms 384.0 KiB
#9 Wrong Answer Read 13, expect 62. 3ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1051 送给圣诞夜的极光
语言
C++
递交时间
2022-06-02 15:13:49
评测时间
2022-06-02 15:13:49
评测机
分数
20
总耗时
42ms
峰值内存
384.0 KiB