Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159407 张晓冉 字符倒序 C++ Compile Error 0 MS 0 KB 145 2026-08-29 16:39:17

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char s[1001] = {0}; cin.getline(s,1001); strrev(s); cout<<s<<endl; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:13: error: 'strrev' was not declared in this scope
     strrev(s);
             ^