結果
| 問題 | No.1471 Sort Queries |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-04 02:18:00 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 389 ms |
| コンパイル使用メモリ | 82,232 KB |
| 実行使用メモリ | 87,432 KB |
| 最終ジャッジ日時 | 2024-07-22 16:20:46 |
| 合計ジャッジ時間 | 26,053 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 TLE * 5 -- * 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])