Compile Error

/in/foo.cc: In function 'int hw(std::string&, int)':
/in/foo.cc:6:12: error: 's3' was not declared in this scope; did you mean 's4'?
    6 |         if(s3==s2)return 1;
      |            ^~
      |            s4
/in/foo.cc:8:1: warning: control reaches end of non-void function [-Wreturn-type]
    8 | }
      | ^

信息

递交者
类型
递交
题目
P2422 1.7.34回文子串
语言
C++
递交时间
2026-02-24 15:47:01
评测时间
2026-02-24 15:47:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes