Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
35974 | brivia | [acwing]首字母大写 | C++ | 编译错误 | 0 MS | 0 KB | 214 | 2024-02-01 13:09:34 |
#include<bits/stdc++.h> using namespace std; int main(void) { string s; cin >> s; if (s[0] <= 'z') s[0] += 'Z' - 'z'; } cout << s << endl; return 0;