結果
| 問題 | No.1471 Sort Queries |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-04 02:18:00 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 798 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 92,544 KB |
| 最終ジャッジ日時 | 2026-04-03 10:01:00 |
| 合計ジャッジ時間 | 20,590 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 TLE * 1 -- * 6 |
ソースコード
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])