Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:24: error: expected primary-expression before ')' token
    6 |         getline(cin,s,!);
      |                        ^
/in/foo.cc:7:9: error: 'revers' was not declared in this scope
    7 |         revers(s.begin(),s.end());
      |         ^~~~~~

信息

递交者
类型
自测
题目
P2531 字符串逆序
语言
C++
递交时间
2026-11-28 14:56:31
评测时间
2026-11-28 14:56:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes