結果

問題 No.206 数の積集合を求めるクエリ
ユーザー yumechiyumechi
提出日時 2015-05-09 07:13:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 220 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 47,352 KB
最終ジャッジ日時 2024-07-05 21:07:55
合計ジャッジ時間 17,185 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
47,352 KB
testcase_01 AC 34 ms
10,496 KB
testcase_02 AC 30 ms
10,624 KB
testcase_03 AC 29 ms
10,368 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 30 ms
10,496 KB
testcase_06 AC 31 ms
11,008 KB
testcase_07 AC 31 ms
11,008 KB
testcase_08 AC 33 ms
11,136 KB
testcase_09 AC 32 ms
11,264 KB
testcase_10 AC 31 ms
10,496 KB
testcase_11 AC 32 ms
10,496 KB
testcase_12 AC 2,238 ms
11,344 KB
testcase_13 AC 1,281 ms
11,236 KB
testcase_14 AC 1,641 ms
11,456 KB
testcase_15 AC 1,342 ms
11,008 KB
testcase_16 AC 376 ms
11,008 KB
testcase_17 AC 133 ms
36,156 KB
testcase_18 AC 83 ms
23,804 KB
testcase_19 AC 123 ms
35,920 KB
testcase_20 AC 70 ms
23,296 KB
testcase_21 AC 91 ms
24,968 KB
testcase_22 AC 94 ms
25,016 KB
testcase_23 AC 127 ms
36,568 KB
testcase_24 TLE -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

L, M, N = map(int, input().split())
ase = list(map(int, input().split()))
bse = list(map(int, input().split()))

for _ in range(int(input())):
    print(len(set(ase) & set(bse)))
    bse = list(map(lambda x: x + 1, bse))
0