Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
36534 brivia [acwing]首字母大写 C++ 编译错误 0 MS 0 KB 232 2024-02-29 22:58:26

Tests(0/0):


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


测评信息: