Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
75760 sh25_zhuwy 字符串改成大写, 逆序输出 C++ 解答错误 0 MS 244 KB 229 2025-12-10 13:29:33

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main() { string str; cin>>str; int len=str.length(); for(int i=len-1;i>=0;i--) { str[i]=str[i]-32; cout<<str[i]; } return 0; }


测评信息: