腾讯笔试第四题求完美对 有没有大佬告知一下我这为啥a不了orz 我想的是diff互为相反数就是完美对,然后用字典存,再从字典里找,例子都过了,就是case为0 import sys lines = sys.stdin.readlines() n, k = list(map(int, lines[0].split())) diff_dic = {} res = 0 for i in range(1, n+1): value = list(map(int, lines[i].split())) diff = [value[j]-value[j-1] for j in...