結果
| 問題 | No.2961 Shiny Monster Master |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-18 21:49:29 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 81,784 KB |
| 実行使用メモリ | 104,956 KB |
| 最終ジャッジ日時 | 2026-09-24 17:51:27 |
| 合計ジャッジ時間 | 10,384 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)