Compile Error

/in/foo.cc: In function 'int hw(std::string&)':
/in/foo.cc:4:19: error: 's' was not declared in this scope
    4 |         int l=0,r=s.size()-1;
      |                   ^

信息

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