結果
問題 | No.1020 Reverse |
ユーザー | splash9494 |
提出日時 | 2020-05-04 19:57:45 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 136 bytes |
コンパイル時間 | 319 ms |
コンパイル使用メモリ | 87,276 KB |
実行使用メモリ | 274,308 KB |
最終ジャッジ日時 | 2023-09-07 03:07:15 |
合計ジャッジ時間 | 4,819 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 66 ms
71,424 KB |
testcase_01 | AC | 68 ms
71,476 KB |
testcase_02 | AC | 68 ms
71,460 KB |
testcase_03 | AC | 77 ms
75,068 KB |
testcase_04 | AC | 76 ms
75,344 KB |
testcase_05 | AC | 74 ms
75,088 KB |
testcase_06 | AC | 71 ms
75,320 KB |
testcase_07 | TLE | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
ソースコード
N, K = map(int, input().split()) S = list(input()) for i in range(N - K + 1): S[i:i + K] = reversed(S[i: i + K]) print(''.join(S))