結果
| 問題 | No.1020 Reverse |
| コンテスト | |
| ユーザー |
splash9494
|
| 提出日時 | 2020-05-04 20:01:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 123 bytes |
| 記録 | |
| コンパイル時間 | 554 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 34,224 KB |
| 最終ジャッジ日時 | 2026-03-11 02:04:04 |
| 合計ジャッジ時間 | 23,965 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 8 TLE * 7 |
ソースコード
N, K = map(int, input().split())
S = list(input())
for i in range(N - K + 1):
S[i: i + K].reverse()
print(''.join(S))
splash9494