結果
| 問題 | No.3195 Three-Letter Acronym |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-06 11:26:26 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 725 bytes |
| 記録 | |
| コンパイル時間 | 3,630 ms |
| コンパイル使用メモリ | 336,368 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2026-01-06 11:26:31 |
| 合計ジャッジ時間 | 4,218 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
#define all(v) v.begin(), v.end()
const int INF = 1001001001;
const int dx[] = {0, 1, 0, -1, 1, 1, -1, -1};
const int dy[] = {1, 0, -1, 0, 1, -1, 1, -1};
bool rev(string str) {
string re = str;
reverse(all(re));
if (re == str) {
return true;
} else {
return false;
}
}
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string s1, s2, s3;
cin >> s1 >> s2 >> s3;
cout << (char)(s1[0] - 'a' + 'A') << (char)(s2[0] - 'a' + 'A') << (char)(s3[0] - 'a' + 'A') << endl;
return 0;
}