結果

問題 No.1471 Sort Queries
ユーザー shigeokushigeoku
提出日時 2021-04-09 21:49:46
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 165 bytes
コンパイル時間 613 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 102,924 KB
最終ジャッジ日時 2023-09-07 10:50:57
合計ジャッジ時間 29,393 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
78,100 KB
testcase_01 AC 73 ms
71,104 KB
testcase_02 AC 76 ms
71,244 KB
testcase_03 AC 77 ms
71,148 KB
testcase_04 AC 77 ms
71,220 KB
testcase_05 AC 76 ms
71,156 KB
testcase_06 AC 75 ms
71,240 KB
testcase_07 AC 78 ms
71,136 KB
testcase_08 AC 80 ms
71,228 KB
testcase_09 AC 79 ms
70,996 KB
testcase_10 AC 76 ms
71,176 KB
testcase_11 AC 76 ms
71,224 KB
testcase_12 AC 77 ms
71,176 KB
testcase_13 AC 509 ms
78,280 KB
testcase_14 AC 441 ms
77,980 KB
testcase_15 AC 746 ms
79,364 KB
testcase_16 AC 213 ms
77,760 KB
testcase_17 AC 387 ms
77,888 KB
testcase_18 AC 295 ms
77,812 KB
testcase_19 AC 257 ms
77,848 KB
testcase_20 AC 762 ms
79,552 KB
testcase_21 AC 411 ms
77,924 KB
testcase_22 AC 346 ms
78,064 KB
testcase_23 AC 1,603 ms
82,724 KB
testcase_24 AC 1,591 ms
82,276 KB
testcase_25 TLE -
testcase_26 AC 1,383 ms
81,212 KB
testcase_27 TLE -
testcase_28 TLE -
testcase_29 AC 1,379 ms
80,852 KB
testcase_30 AC 1,512 ms
81,056 KB
testcase_31 TLE -
testcase_32 AC 1,957 ms
82,832 KB
testcase_33 TLE -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, Q = map(int, input().split())
S = input()
Qn = [list(map(int, input().split())) for _ in range(Q)]


for l, r, i in Qn:
    s = S[l-1:r]
    print(sorted(s)[i-1])
0