Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:20: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'behin'; did you mean 'begin'?
   20 |         reverse(s2.behin(),s2.end());
      |                    ^~~~~
      |                    begin
/in/foo.cc:21:30: error: expected ';' before '}' token
   21 |         if(s==s2&&pd(x))sum++
      |                              ^
      |                              ;
   22 | 
   23 |         }
      |         ~                     

信息

递交者
类型
递交
题目
P1799 统计回文数
语言
C++
递交时间
2026-02-25 12:17:22
评测时间
2026-02-25 12:17:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes