結果
| 問題 |
No.8016 unordered_mapなるたけ落とすマン
|
| ユーザー |
maspy
|
| 提出日時 | 2020-03-22 14:36:25 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
MLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 398 bytes |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 62,688 KB |
| 最終ジャッジ日時 | 2024-12-24 17:33:24 |
| 合計ジャッジ時間 | 40,433 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 MLE * 42 |
ソースコード
#!/usr/bin/ python3.8
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
N, M = map(int, readline().split())
A = np.array(readline().split(), np.int64)
B = np.array(readline().split(), np.int64)
A.sort()
C = np.searchsorted(A, B, side='right') - np.searchsorted(A, B, side='left')
print(' '.join(C.astype(str)))
maspy