結果
| 問題 | No.536 人工知能 |
| コンテスト | |
| ユーザー |
togaerror
|
| 提出日時 | 2017-07-28 22:03:21 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 1,000 ms |
| + 624µs | |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 58 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-09-13 00:38:46 |
| 合計ジャッジ時間 | 1,446 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
def main():
s = input()
if (s[-2] == "a" and s[-1] == "i"):
n = len(s)
s = s[0 : n - 2] + "AI"
print(s)
else:
s += "-AI"
print(s)
main()
togaerror