| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77313 | sh25_shenpy | 整理药名 | C++ | 解答错误 | 0 MS | 240 KB | 356 | 2025-12-23 21:32:22 |
#include<bits/stdc++.h> #include<cstring> using namespace std; int main(){ string s; int n; cin>>n; for(int i=1;i<=n;++i){ cin.get(s[0]); cout<<toupper(s[0]); for(int j=1;j<s.size();++j){ cin.get(s[j]); cout<<tolower(s[j]); } cout<<endl; } return 0; }