結果

問題 No.536 人工知能
ユーザー otsunekootsuneko
提出日時 2021-05-07 16:36:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 959 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,492 KB
最終ジャッジ日時 2023-10-13 07:46:14
合計ジャッジ時間 2,349 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,208 KB
testcase_01 AC 68 ms
71,464 KB
testcase_02 AC 69 ms
71,296 KB
testcase_03 AC 72 ms
71,416 KB
testcase_04 AC 69 ms
71,292 KB
testcase_05 AC 69 ms
71,492 KB
testcase_06 AC 69 ms
71,108 KB
testcase_07 AC 70 ms
71,448 KB
testcase_08 AC 71 ms
71,448 KB
testcase_09 AC 72 ms
71,292 KB
testcase_10 AC 70 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())
if S[-2:] == ["a","i"]:
    S[-1] = S[-1].upper()
    S[-2] = S[-2].upper()
else:
    S += ["-AI"]
print("".join(S))
0