結果
| 問題 | No.3648 Overbooked Meeting Rooms |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-28 22:08:16 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 76 ms / 2,000 ms |
| + 932µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 759 ms |
| コンパイル使用メモリ | 96,488 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-08-28 22:08:22 |
| 合計ジャッジ時間 | 4,208 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
N, M = map(int, input().split()) A = list(map(lambda x:int(x)-1, input().split())) B = list(map(int, input().split())) ret = 0 for ai in A: if B[ai] > 0: B[ai] -= 1 else: ret += 1 print(ret)