Help for this page
memset(seen, '0', sizeof(seen)); ... if (seen[bit] == '1') { return; } seen[bit] = '1';
memset(seen, 0, sizeof(seen));