結果
| 問題 | No.3085 Easy Problems |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-01-03 17:36:24 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 414 bytes |
| 記録 | |
| コンパイル時間 | 676 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 42,580 KB |
| 最終ジャッジ日時 | 2026-01-03 17:36:33 |
| 合計ジャッジ時間 | 7,616 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 30 |
ソースコード
n = int(input())
challenges = []
for _ in range(n):
a, b = map(int, input().split())
challenges.append((a, b))
q = int(input())
for _ in range(q):
x, y = map(int, input().split())
if x == 1000000000:
print(0)
continue
count = 0
for difficulty, challenge_type in challenges:
if x >= difficulty and y != challenge_type:
count += 1
print(count)
vjudge1