Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
79388 sh25_shenpy 字符串改成大写, 逆序输出 C++ 解答错误 0 MS 260 KB 289 2026-01-03 20:47:29

Tests(0/1):


#include <bits/stdc++.h> using namespace std ; string s ; string ans = "" ; int main() { cin >> s ; int l = s.size() ; reverse(s.begin() , s.end() ) ; for(int i = 0 ; i < l ; i++ ) { char ch = s[i] - 'a' + 'A' ; cout << ch ; } cout << endl ; return 0 ; }


测评信息: