首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
布衣14
中山大学
2020届
算法工程师
0offer中
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(3)
拼凑硬币
2
n = int(input()) dic = {-1:0,0:1,1:1} def Coin(n): if n in dic: return dic[n] elif n % 2 == 1: if n>>1 not in dic: ...
发表于 2019-09-17 16:04:38
单词倒排
0
while True: try: word = '' for i in input(): if i.islower() or i.isupper(): word += i else...
发表于 2019-09-11 15:31:03
字符串分隔
1
def printStr(str): while len(str) >= 8: print(str[:8]) str = str[8:] if len(str) > 0: print(str + '0' * (8 - len...
发表于 2019-09-09 16:28:41
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题