結果
| 問題 | 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 |
| 記録 | |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 16,760 KB |
| 最終ジャッジ日時 | 2026-07-29 10:04:40 |
| 合計ジャッジ時間 | 5,402 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 4 TLE * 1 -- * 10 |
ソースコード
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