結果
| 問題 | No.2961 Shiny Monster Master |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-18 21:49:29 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 210 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 155,648 KB |
| 最終ジャッジ日時 | 2026-05-11 20:25:51 |
| 合計ジャッジ時間 | 7,534 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 35 TLE * 1 -- * 41 |
ソースコード
R,N=list(map(int,input().split())) A=list(map(int,input().split())) A=set(A) Q=int(input()) for i in range(Q): l,r=list(map(int,input().split())) cnt=0 for b in range(l,r+1): if b%R in A: cnt+=1 print(cnt)