Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
77299 sh25_shenpy 整理药名 C++ 解答错误 0 MS 248 KB 337 2025-12-22 22:31:59

Tests(0/1):


#include<bits/stdc++.h> 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; }


测评信息: