結果
| 問題 | No.3610 CHANGE |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-08 19:57:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| + 436µs | |
| コード長 | 297 bytes |
| 記録 | |
| コンパイル時間 | 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 |
ソースコード
# 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()