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
| #!/usr/bin/env python3 | |
| # -*- coding: UTF-8 -*- | |
| import sys | |
| from functools import cmp_to_key | |
| def cmp_items_inner(a, b): | |
| if len(a) > 0 and len(b) == 0: | |
| return 1 | |
| elif len(a) == 0 and len(b) > 0: |
OlderNewer