记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:15: 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<now.length();i++)
      |              ~^~~~~~~~~~~~~
foo.cc:17:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |  for(int i=0;i<now.length()-2;i++)
      |              ~^~~~~~~~~~~~~~~
foo.cc:22:16: 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 j=0;j<now.length()-2;j++)
      |               ~^~~~~~~~~~~~~~~
foo.cc:39:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::set<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   39 |  for(int i=0;i<list2.size();i++)
      |              ~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Wrong Answer User output longer than standard answer. 4ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 512.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 384.0 KiB
#5 Accepted 58ms 512.0 KiB

信息

递交者
类型
递交
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 20:29:45
评测时间
2022-08-07 20:29:45
评测机
分数
40
总耗时
72ms
峰值内存
512.0 KiB