Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77314 sh25_shenpy 整理药名 C++ 解答错误 0 MS 248 KB 401 2025-12-23 21:37:42

Tests(0/1):


#include<bits/stdc++.h> #include<cstring> using namespace std; int main(){ string s; int n; char c; cin>>n; for(int i=1;i<=n;++i){ cin.get(s[0]); c=toupper(s[0]); cout<<c; for(int j=1;j<s.size();++j){ cin.get(s[j]); c=tolower(s[j]); cout<<c; } cout<<endl; } return 0; }


测评信息: