結果
問題 |
No.993 青色
|
ユーザー |
|
提出日時 | 2020-02-21 21:29:41 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 180 bytes |
コンパイル時間 | 881 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 64,000 KB |
最終ジャッジ日時 | 2024-10-08 21:08:31 |
合計ジャッジ時間 | 1,037 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 RE * 1 |
ソースコード
s = input() n = len(s) ans = '' i = 0 while i < n: if s[i] == 'a' and s[i+1] == 'o': ans += 'ki' i += 2 else: ans += s[i] i += 1 print(ans)