首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
Gee客
获赞
1
粉丝
0
关注
5
看过 TA
0
重庆大学
2022
安卓
IP属地:未知
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑Gee客吗?
发布(8)
刷题
Gee客
2022-04-20 13:30
安卓
题解 | #挑7#
count=0 for i in range(1,n+1): if str(i).find('7')!=-1 or i%7==0: count+=1 print(count)
0
点赞
评论
收藏
转发
Gee客
2022-04-20 10:43
安卓
题解 | #记负均正#
if n!=0: s=list(map(int,input().split())) print(len([i for i in s if i<0]),end=' ') if len([i for i in s if i>0])>0: print('%.1f'%(sum([i for i in s if i>0])/len([i for i in s if i>0]))) else: print(0.0)
0
点赞
评论
收藏
转发
Gee客
2022-04-19 22:52
安卓
题解 | #走方格的方案数#
if a<1 or b<1: return 1 return run(a-1,b)+run(a,b-1) while 1: try: a,b=map(int,input().split()) print(run(a,b)) except: break
0
点赞
评论
收藏
转发
Gee客
2022-04-19 22:19
安卓
题解 | #MP3光标位置#
try: n = int(input()) c = input() if n <= 4: p = 1 print(' '.join([str(i) for i in range(1, n + 1)])) for item in c: if item == 'U': if p==1: p=n else: ...
0
点赞
评论
收藏
转发
Gee客
2022-04-19 21:46
安卓
题解 | #整数与IP地址间的转换#
try: a = input() if a.find('.') != -1: l = list(map(int, a.split('.'))) sum = 0 for i in range(len(l)): l[i] = l[i] << 8 * (3 - i) sum += l[i] print(sum) else: a = int(a) ...
0
点赞
评论
收藏
转发
Gee客
2022-04-18 22:55
安卓
题解 | #成绩排序#
while 1: try: n=int(input()) m=not int(input()) for i in range(n): s=input().split() s[1]=int(s[1]) a.append(s) # print(a) a.sort(key=lambda x:x[1],reverse=m) # print(a) for i in range(n): ...
0
点赞
评论
收藏
转发
Gee客
2022-04-18 16:56
安卓
题解 | #简单密码#
try: a=input() for item in a: if ord('a')<=ord(item)<ord('s'): c=(ord(item)-97)//3+2 print(c,end='') elif ord('s')<=ord(item)<ord('z'): c=(ord(item)-113)//3+7 print(c,end='') ...
0
点赞
评论
收藏
转发
Gee客
2021-04-12 08:34
安卓
2021-04-12
在牛客打卡1天,今天学习:刷题 1 道/代码提交 18 次
每日监督打卡
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务