/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:29:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[111]' [-Wformat=]
   29 |         scanf("%s",&st[i]);
      |                ~^  ~~~~~~
      |                 |  |
      |                 |  char (*)[111]
      |                 char*
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:29:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   29 |         scanf("%s",&st[i]);
      |         ~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Wrong Answer Read 70, expect 69. 5ms 512.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Wrong Answer Read 514, expect 522. 4ms 512.0 KiB
#7 Wrong Answer Read 480, expect 485. 3ms 384.0 KiB
#8 Wrong Answer Read 493, expect 497. 6ms 384.0 KiB
#9 Wrong Answer Read 58, expect 62. 2ms 384.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

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