結果
問題 |
No.2650 [Cherry 6th Tune *] セイジャク
|
ユーザー |
![]() |
提出日時 | 2024-02-23 22:32:36 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 458 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 96,640 KB |
最終ジャッジ日時 | 2024-09-29 07:31:42 |
合計ジャッジ時間 | 8,101 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 14 TLE * 1 -- * 16 |
ソースコード
n,a=map(int,input().split()) x=list(map(int,input().split())) t=int(input()) q=[tuple(map(int,input().split())) for i in range(t)] for i in range(n): a=-1 for j in reversed(range(t)): if q[j][0]<=x[i]<=q[j][1]: print(j+1) break print(a)