結果

問題 No.536 人工知能
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2024-04-13 20:48:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 230 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 57,140 KB
最終ジャッジ日時 2024-04-13 20:48:39
合計ジャッジ時間 1,975 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
56,852 KB
testcase_01 AC 45 ms
55,516 KB
testcase_02 AC 44 ms
56,016 KB
testcase_03 AC 44 ms
56,180 KB
testcase_04 AC 44 ms
56,580 KB
testcase_05 AC 43 ms
55,668 KB
testcase_06 AC 45 ms
57,140 KB
testcase_07 AC 45 ms
56,140 KB
testcase_08 AC 44 ms
56,188 KB
testcase_09 AC 44 ms
55,868 KB
testcase_10 AC 44 ms
56,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

S = input()[:-1]
N = len(S)
if S[-2:]=='ai':
    print(S[:-2]+'AI')
else:
    print(S+'-AI')
0