Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
34423 通过 [acwing]首字母大写 C++ 解答错误 0 MS 256 KB 160 2024-01-07 11:51:01

Tests(1/5):


#include <bits/stdc++.h> using namespace std; string x; int main(){ cin>>x; if(x[0]>='a'||x[0]<='z') x[0]=x[0]-'a'+'A'; cout<<x; return 0; }


测评信息: