#45341: python腦洞大開


x__1 (麗山の間諜)

學校 : 臺北市私立延平高級中學
編號 : 294220
來源 : [118.160.61.232]
最後登入時間 :
2025-04-06 18:06:43
b520. 樂透-商競103 -- 103學年度商業類程式設計競賽模擬題 | From: [111.248.238.43] | 發表日期 : 2025-02-16 17:21

for i in range(int(input())):print(len((set(list(map(int,input().replace(',',' ').split()))))&(set(list(map(int,input().replace(',',' ').split()))))))
 
ZeroJudge Forum