結果
| 問題 | No.3648 Overbooked Meeting Rooms |
| コンテスト | |
| ユーザー |
回転
|
| 提出日時 | 2026-08-28 22:41:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 2,000 ms |
| + 176µs | |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 250 ms |
| コンパイル使用メモリ | 95,732 KB |
| 実行使用メモリ | 79,744 KB |
| 最終ジャッジ日時 | 2026-08-28 22:41:32 |
| 合計ジャッジ時間 | 4,563 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
from collections import Counter
N,M = list(map(int,input().split()))
A = list(map(lambda x:int(x)-1,input().split()))
B = list(map(int,input().split()))
ca = Counter(A)
ans = 0
for i in range(M):
ans += max(0, ca[i] - B[i])
print(ans)
回転