結果
| 問題 | No.3195 Three-Letter Acronym |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2025-12-06 01:42:32 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 561 bytes |
| 記録 | |
| コンパイル時間 | 3,323 ms |
| コンパイル使用メモリ | 279,856 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-12-06 01:42:36 |
| 合計ジャッジ時間 | 4,522 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
#ifndef ONLINE_JUDGE
#include <debug.hpp>
#else
#define debug(...) 42
#endif
using namespace std;
#define int long long
void solve(){
string s;
getline(cin,s);
stringstream ss(s);
string ans;
string curr;
while(ss>>curr){
debug(curr);
ans+= toupper(curr[0]);
}
cout<<ans<<endl;
}
int32_t main(){
ios::sync_with_stdio(false); cin.tie(nullptr);
int t = 1;
// cin>>t;
int x = 1;
while(t--){
debug(x);
++x;
solve();
}
return 0;
}
vjudge1