/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In function 'void sc()':
foo.cc:102:30: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long long int' [-Wformat=]
  102 |   printf("%d %d %d %d %d %d %d\n",pos(i),fa(i),ls(i),rs(i),siz(i),num(i),hsh(i));
      |                             ~^
      |                              |
      |                              int
      |                             %lld
foo.cc: In function 'int main()':
foo.cc:119:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  119 |  for (int i=1;i<=sr.size();i++) len[i]=len[i-1]*26%md;
      |               ~^~~~~~~~~~~
foo.cc:120:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  120 |  for (int i=0;i<sr.size();i++) a[i+2]=sr[i]-'a'+1;
      |               ~^~~~~~~~~~
foo.cc:127:11: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[200005]' [-Wformat=]
  127 |   scanf("%s%lld",&st,&l);
      |          ~^      ~~~
      |           |      |
      |           char*  char (*)[200005]
foo.cc:127:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  127 |   scanf("%s%lld",&st,&l);
      |   ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:130:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  130 |    scanf("%lld",&r);
      |    ~~~~~^~~~~~~~~~~
foo.cc:142:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  142 |    getchar(); scanf("%c",&ch);
      |               ~~~~~^~~~~~~~~~
foo.cc:148:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  148 |    getchar(); scanf("%c",&ch);
      |               ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 502, expect 198. 182ms 384.0 KiB
#2 Wrong Answer Read 50701, expect 48840. 380ms 4.367 MiB
#3 Wrong Answer Read 51301, expect 50061. 323ms 4.367 MiB
#4 Wrong Answer Read 50801, expect 41443. 429ms 4.367 MiB
#5 Wrong Answer Read 50201, expect 26038. 362ms 4.367 MiB
#6 Wrong Answer Read 502, expect 480. 124ms 504.0 KiB
#7 Wrong Answer Read 100001, expect 93958. 404ms 5.242 MiB
#8 Wrong Answer Read 100001, expect 74920. 385ms 5.242 MiB
#9 Wrong Answer Read 100001, expect 76982. 574ms 5.242 MiB
#10 Wrong Answer Read 50701, expect 33151. 502ms 4.367 MiB

信息

递交者
类型
递交
题目
火星人prefix
语言
C++
递交时间
2022-03-19 08:19:28
评测时间
2022-03-19 08:19:28
评测机
分数
0
总耗时
3669ms
峰值内存
5.242 MiB