結果
| 問題 | No.2710 How many more? |
| コンテスト | |
| ユーザー |
𖧱𖦸𖥩𖥣𖥩𖥣
|
| 提出日時 | 2024-04-30 12:44:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 210 bytes |
| 記録 | |
| コンパイル時間 | 126 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 34,580 KB |
| 最終ジャッジ日時 | 2024-11-20 07:48:43 |
| 合計ジャッジ時間 | 49,391 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 1 TLE * 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)
𖧱𖦸𖥩𖥣𖥩𖥣