結果
| 問題 |
No.3195 Three-Letter Acronym
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-30 19:39:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 432 bytes |
| コンパイル時間 | 355 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2025-07-30 19:39:51 |
| 合計ジャッジ時間 | 2,889 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 23 |
ソースコード
s = input().split() # スペースで単語に分ける
acronym_letters = [] # 空のリストを用意
for word in words:
first_letter = word[0] # 各単語の先頭文字を取得
capital_letter = first_letter.upper() # 大文字に変換
acronym_letters.append(capital_letter) # リストに追加
acronym = ''.join(acronym_letters) # 文字を連結してアクロニムにする
print(acronym)