結果

問題 No.3195 Three-Letter Acronym
ユーザー 小高悠太郎
提出日時 2025-08-22 00:41:39
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 434 bytes
コンパイル時間 3,059 ms
コンパイル使用メモリ 275,884 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-08-22 00:41:44
合計ジャッジ時間 4,098 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i = 0; i< (n); ++i)
#define repi(i, a, b) for (int i = (a); i < (b); ++i)
#define all(x) (x).begin(), (x).end()
#define fore(i, a) for(auto &i:a)
using ll = long long;

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