/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:52:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   52 |                     used[c] = 0;
      |                          ^
foo.cc:70:29: warning: array subscript has type 'char' [-Wchar-subscripts]
   70 |                 if (used[s[0]])
      |                          ~~~^
foo.cc:77:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   77 |                 used[s[0]] = 1;
      |                      ~~~^
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |     scanf("%d", &n);
      |     ~~~~~^~~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |         scanf("%d", &l);
      |         ~~~~~^~~~~~~~~~
foo.cc:18:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |         scanf("%s", lhz);
      |         ~~~~~^~~~~~~~~~~
foo.cc:31:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   31 |             scanf("%s", s);
      |             ~~~~~^~~~~~~~~
foo.cc:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   36 |                     scanf("%s", s);
      |                     ~~~~~^~~~~~~~~
foo.cc:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   37 |                     scanf("%s", s);
      |                     ~~~~~^~~~~~~~~
foo.cc:38:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   38 |                     scanf("%s", s);
      |                     ~~~~~^~~~~~~~~
foo.cc:69:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   69 |                 scanf("%s", s);
      |                 ~~~~~^~~~~~~~~
foo.cc:73:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |                     scanf("%s", s);
      |                     ~~~~~^~~~~~~~~
foo.cc:74:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   74 |                     scanf("%s", s);
      |                     ~~~~~^~~~~~~~~
foo.cc:79:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   79 |                 scanf("%s", s1);
      |                 ~~~~~^~~~~~~~~~
foo.cc:80:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   80 |                 scanf("%s", s2);
      |                 ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Wrong Answer 6d5 < Yes 10a10 > No 4ms 384.0 KiB
#7 Wrong Answer Read Yes, expect No. 5ms 384.0 KiB
#8 Wrong Answer 0a1 > No 6,7d6 < Yes < No 9a9 2ms 384.0 KiB
#9 Wrong Answer 2,4d1 < No < No < No 6a4,5 > Y 2ms 384.0 KiB
#10 Wrong Answer Read No, expect Yes. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2029 时间复杂度
语言
C++
递交时间
2022-01-25 19:56:41
评测时间
2022-01-25 19:56:41
评测机
分数
50
总耗时
28ms
峰值内存
384.0 KiB