Skip to content

Commit f6643e8

Browse files
authored
add comment
1 parent c866473 commit f6643e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/5_Plat/PIE.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ int howMany(vector<string> patterns, int k) {
308308
for (int mask = 0; mask < (1 << (int)patterns.size()); mask++) {
309309
// subsets with exactly k patterns matters
310310
if (__builtin_popcount(mask) != k) { continue; }
311+
// iterate over all superset of current subset mask
311312
for (int supermask = mask; supermask < (1 << (int)patterns.size());
312313
supermask++) {
313314
if ((mask & supermask) != mask) { continue; }

0 commit comments

Comments
 (0)