| Дмитрий Улитин, 527 ClassOnly 14215 | Кравченко Роман, 517 ClassOnly 14312 | ||||
|---|---|---|---|---|---|
| f | 1 | import itertools | f | 1 | import itertools |
| n | 2 | sequences = set((''.join(x) for x in itertools.product('abcd', repeat=4))) | n | 2 | names = set((''.join(i) for i in itertools.product('abcd', repeat=4))) |
| 3 | 3 | ||||
| 4 | class Struct: | 4 | class Struct: | ||
| 5 | __slots__ = [] | 5 | __slots__ = [] | ||
| 6 | 6 | ||||
| t | 7 | def __getattribute__(self, name: str): | t | 7 | def __getattribute__(self, __name: str): |
| 8 | if name in sequences: | 8 | if __name in names: | ||
| 9 | return name | 9 | return __name | ||
| 10 | raise AttributeError() | 10 | raise AttributeError | ||
| Legends | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||