ccogito
ccogito
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
ccogito的博客
全部文章
(共2篇)
二进制,退位求与消 1
number = int(input().strip()) count = 0 while number: number &= number - 1 count += 1 print(count)
2021-03-27
0
513
python 快排解法
# 比较两个单词的先后,如果 word1 在 word2 前面则返回 True, 否则返回 False def cmp(word1, word2): if not word1: return True elif not word2: return Fa...
2021-03-27
6
708