记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |                 for(int i=0;i<a.size();i++) a1[a[i]-97]++;
      |                             ~^~~~~~~~~
foo.cc:13:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |                 for(int i=0;i<b.size();i++) b1[b[i]-97]++;
      |                             ~^~~~~~~~~
foo.cc:22:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   22 |                 for(int i=0;i<a.size();i++) a1[a[i]-97]++;
      |                             ~^~~~~~~~~
foo.cc:23:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   23 |                 for(int i=0;i<b.size();i++) b1[b[i]-97]++;
      |                             ~^~~~~~~~~
foo.cc:31:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   31 |                         for(i=0,j=0;i<a.size();i++)
      |                                     ~^~~~~~~~~
foo.cc:33:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   33 |                         if(j==b.size()) puts("automation");
      |                            ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#4 Accepted 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 2ms 284.0 KiB
#8 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#9 Accepted 2ms 284.0 KiB
#10 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#11 Accepted 9ms 532.0 KiB
#12 Accepted 6ms 540.0 KiB
#13 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#14 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#15 Wrong Answer Read automation, expect automaton. 2ms 284.0 KiB
#16 Accepted 2ms 284.0 KiB
#17 Accepted 3ms 280.0 KiB
#18 Accepted 3ms 284.0 KiB
#19 Wrong Answer Read automation, expect automaton. 3ms 284.0 KiB
#20 Accepted 9ms 456.0 KiB

信息

递交者
类型
递交
题目
P1402 Problem 4B. 后缀机器
比赛
悬赏令第四周
语言
C++
递交时间
2023-05-15 19:42:20
评测时间
2023-05-15 19:42:20
评测机
分数
78
总耗时
67ms
峰值内存
540.0 KiB