This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def print_confs(c_len, c_ones): | |
| inner_print_confs("", c_len, c_ones) | |
| def inner_print_confs(c_prefix, c_len, c_ones): | |
| if c_len == c_ones: | |
| print(c_prefix + "1" * c_len) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def p_configs(alen): | |
| if alen == 0: | |
| return 1 | |
| totals = 0 | |
| if alen >= 1: | |
| totals += p_configs(alen - 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Example { | |
| void Main() { | |
| Listener refectListener = new ReflectionListener() { | |
| void received(Connection connection, OneMessage message) { | |
| } |
NewerOlder