結果

問題 No.3195 Three-Letter Acronym
ユーザー V_Melville
提出日時 2025-07-11 21:25:48
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 2,988 ms
コンパイル使用メモリ 276,028 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-07-11 21:25:57
合計ジャッジ時間 3,743 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    string s1, s2, s3;
    cin >> s1 >> s2 >> s3;
    
    string ans;
    ans += toupper(s1[0]);
    ans += toupper(s2[0]);
    ans += toupper(s3[0]);
    
    cout << ans << '\n';
    
    return 0;
}
0