結果

問題 No.1471 Sort Queries
ユーザー otsunekootsuneko
提出日時 2021-05-04 02:18:00
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 156 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 80,052 KB
最終ジャッジ日時 2023-09-29 22:17:56
合計ジャッジ時間 28,709 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
70,960 KB
testcase_01 AC 66 ms
71,144 KB
testcase_02 AC 64 ms
71,036 KB
testcase_03 AC 64 ms
71,192 KB
testcase_04 AC 74 ms
70,924 KB
testcase_05 AC 70 ms
70,812 KB
testcase_06 AC 66 ms
71,144 KB
testcase_07 AC 65 ms
71,024 KB
testcase_08 AC 67 ms
71,188 KB
testcase_09 AC 67 ms
71,208 KB
testcase_10 AC 66 ms
71,348 KB
testcase_11 AC 70 ms
71,188 KB
testcase_12 AC 69 ms
71,200 KB
testcase_13 AC 495 ms
77,656 KB
testcase_14 AC 404 ms
77,996 KB
testcase_15 AC 660 ms
77,656 KB
testcase_16 AC 188 ms
77,220 KB
testcase_17 AC 347 ms
77,604 KB
testcase_18 AC 260 ms
77,580 KB
testcase_19 AC 228 ms
77,484 KB
testcase_20 AC 674 ms
77,768 KB
testcase_21 AC 368 ms
78,272 KB
testcase_22 AC 314 ms
78,116 KB
testcase_23 AC 1,412 ms
78,024 KB
testcase_24 AC 1,443 ms
78,292 KB
testcase_25 TLE -
testcase_26 AC 1,239 ms
77,912 KB
testcase_27 TLE -
testcase_28 TLE -
testcase_29 AC 1,214 ms
78,272 KB
testcase_30 AC 1,346 ms
77,744 KB
testcase_31 TLE -
testcase_32 AC 1,773 ms
78,564 KB
testcase_33 TLE -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,Q = map(int,input().split())
S = list(input())

for _ in range(Q):
    l,r,x = map(int,input().split())

    A = sorted(S[l-1:r])
    print(A[x-1])
0