結果

問題 No.3195 Three-Letter Acronym
ユーザー fdironia
提出日時 2025-08-14 18:09:07
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 250 bytes
コンパイル時間 780 ms
コンパイル使用メモリ 80,516 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-08-14 18:09:09
合計ジャッジ時間 1,897 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <cctype>

using namespace std;

int main() {
    string s1, s2, s3;
    cin >> s1 >> s2 >> s3;

    cout << (char)toupper(s1[0]) << (char)toupper(s2[0]) << (char)toupper(s3[0]) << endl;

    return 0;
}
0