結果

問題 No.3610 CHANGE
コンテスト
ユーザー LyricalMaestro
提出日時 2026-08-08 19:57:10
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 64 ms / 2,000 ms
+ 436µs
コード長 297 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 235 ms
コンパイル使用メモリ 96,228 KB
実行使用メモリ 78,976 KB
最終ジャッジ日時 2026-08-08 19:57:13
合計ジャッジ時間 2,185 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

# https://yukicoder.me/problems/no/3610

import math

MOD = 10 ** 9 + 7

def main():
    N = int(input())
    S = input()
    x, c = input().split()

    x = int(x) - 1
    s_array = [s for s in S]
    s_array[x] = c

    print("".join(s_array))




    





if __name__ == "__main__":
    main()
0