結果

問題 No.206 数の積集合を求めるクエリ
ユーザー 👑 yumechiyumechi
提出日時 2015-05-09 07:13:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 220 bytes
コンパイル時間 251 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 43,128 KB
最終ジャッジ日時 2023-09-19 09:24:10
合計ジャッジ時間 16,898 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
43,128 KB
testcase_01 AC 17 ms
7,784 KB
testcase_02 AC 16 ms
7,940 KB
testcase_03 AC 16 ms
7,780 KB
testcase_04 AC 16 ms
7,784 KB
testcase_05 AC 16 ms
7,704 KB
testcase_06 AC 17 ms
8,544 KB
testcase_07 AC 17 ms
8,504 KB
testcase_08 AC 18 ms
8,812 KB
testcase_09 AC 20 ms
8,792 KB
testcase_10 AC 18 ms
7,820 KB
testcase_11 AC 18 ms
7,820 KB
testcase_12 AC 1,819 ms
9,032 KB
testcase_13 AC 1,083 ms
8,832 KB
testcase_14 AC 1,337 ms
8,796 KB
testcase_15 AC 1,034 ms
8,776 KB
testcase_16 AC 339 ms
8,636 KB
testcase_17 AC 116 ms
34,592 KB
testcase_18 AC 64 ms
22,084 KB
testcase_19 AC 104 ms
34,184 KB
testcase_20 AC 54 ms
20,956 KB
testcase_21 AC 70 ms
22,924 KB
testcase_22 AC 75 ms
22,720 KB
testcase_23 AC 108 ms
34,608 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