結果
問題 | No.1471 Sort Queries |
ユーザー |
![]() |
提出日時 | 2021-04-09 22:44:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 105 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 16,384 KB |
最終ジャッジ日時 | 2024-06-25 06:24:38 |
合計ジャッジ時間 | 26,176 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 TLE * 5 -- * 6 |
ソースコード
# 1471 Sort Queries from sys import stdin n,q=list(map(int,stdin.readline().split())) s=stdin.readline().rstrip() for _ in range(q): l,r,x=list(map(int,stdin.readline().split())) subS=sorted(list(s[l-1:r-1+1])) print(subS[x-1])