| Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|---|
| 312685 | 黄浙峰老师 | 【C5-4】词组缩写 | C++ | 通过 | 100 | 1 MS | 260 KB | 198 | 2025-03-15 12:58:34 |
#include<iostream> using namespace std; int main(){ string s; while(cin>>s){ if(s[0]>='a'&&s[0]<='z'){ s[0]=s[0]-'a'+'A'; } cout<<s[0]; } return 0; }