| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150989 | 陈棋 | 词组缩写 | C++ | Accepted | 1 MS | 264 KB | 317 | 2026-04-02 16:10:16 |
#include<bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; cin.ignore(); for(int i=0;i<T;i++){ string line; getline(cin,line); stringstream ss(line); string word; string res; while(ss>>word){ char c=toupper(word[0]); res+=c; } cout<<res<<endl; } return 0; }