結果

問題 No.1020 Reverse
ユーザー stngstng
提出日時 2020-04-11 19:06:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 93 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 11,764 KB
実行使用メモリ 10,476 KB
最終ジャッジ日時 2023-10-19 10:30:41
合計ジャッジ時間 3,052 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,104 KB
testcase_01 AC 29 ms
10,104 KB
testcase_02 AC 32 ms
10,104 KB
testcase_03 WA -
testcase_04 AC 30 ms
10,104 KB
testcase_05 AC 30 ms
10,120 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 158 ms
10,392 KB
testcase_09 AC 134 ms
10,344 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 192 ms
10,472 KB
testcase_13 AC 186 ms
10,472 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 175 ms
10,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
s = input()

for i in range(n):
    print(s[(k+i-1)%n],end='')
0