結果

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

ソースコード

diff #

//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (ll)(n); i++)
#define all(a) (a).begin(), (a).end()
using ll = long long;
const int INF32 = 2e9;
const ll INF64 = 4e18;

int main() {
    string s1, s2, s3;
    cin >> s1 >> s2 >> s3;
    int sa = 'A'-'a';
    cout << (char)(s1[0]+sa) << (char)(s2[0]+sa) << (char)(s3[0]+sa) << endl;
    return 0;
}
0