记录详情

Wrong Answer

foo.cc: In function 'std::string Concat(std::string, std::string)':
foo.cc:7:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |     for(int i=0;i<s1.size()-1;i++){
      |                 ~^~~~~~~~~~~~
foo.cc:10:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |     for(int i=1;i<s2.size();i++){
      |                 ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read , expect What. 2ms 320.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2024-03-22 12:53:29
评测时间
2024-03-22 12:53:29
评测机
分数
0
总耗时
2ms
峰值内存
320.0 KiB