| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75886 | sh25_zhuwy | 将字符串中的小写字母转换成大写字母 | C++ | Wrong Answer | 0 MS | 240 KB | 336 | 2025-12-11 12:22:30 |
#include<bits/stdc++.h> using namespace std; int main() { string str; cin>>str; int len=str.length(); for(int i=0;i<=len-1;i++) { if(i==len-3) { str[i]='W'; } else { str[i]=str[i]-32; } cout<<str[i]; } return 0; }