Each line has 8 sorted numbers and range from 1~49. Another set of "filter" file(s) each has 6 millions ~ 7 millions line in the following format, 13,4,7,8,18,20 9,10,11,12,5,6,7,8,1,2,3,4,21,22,23,24,13,14,15,16,29,30,31,32,45,46,47,48 29,49,36,37,34,17,15,9,16,30,28,47,46,27,20,32,14,26,1,4,3,6,10,2,7,48,44,41 |
vector<array<bool,50>> filters;
|
|
for each line (~8mil) for each integer (8) for each filter (~7million) tally up score against the filter index; record (line, filter_line) pairs somewhere , (if score is >=2 etc.) |