結果
| 問題 | No.2710 How many more? |
| コンテスト | |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-04-30 12:44:53 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 15,672 KB |
| 最終ジャッジ日時 | 2026-09-26 23:13:07 |
| 合計ジャッジ時間 | 6,421 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | TLE * 1 -- * 16 |
ソースコード
n,q = map(int,input().split()) als = map(int,input().split()) for i in range(q): x,y = map(int,input().split()) if x <= y: print(0) else: c = 0 for j in range(n): if y < j < x: c += 1 print(c)
𖧱𖦸𖥩𖥣𖥩𖥣