首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
Sigmaifa
获赞
2
粉丝
0
关注
4
看过 TA
0
男
福建工程学院
2017
Python
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑Sigmaifa吗?
发布(5)
刷题
Sigmaifa
2022-05-26 19:43
Python
题解 | #查找兄弟单词#
item = input() n = int(item.split(' ')[0]) k = int(item.split(' ')[-1]) word = item.split(' ')[-2] items = item.split(' ')[1:-2] a = [] new =[] for i in range(n): if items[i] != word and sorted(items[i]) == sorted(word): a.append(items[i]) new = sorted(a) if k > len(new): print(...
0
点赞
评论
收藏
转发
Sigmaifa
2022-05-25 22:58
Python
题解 | #输入整型数组和排序标识,对其元素按照升序或降序进行排序#
print(''.join(list(input())[0:int(input())]))
0
点赞
评论
收藏
转发
Sigmaifa
2022-05-23 22:46
Python
题解 | #坐标移动#
input_list = input().split(";") init = [0, 0] derect = "AWSD" for item in input_list: if len(item) <= 0: continue derection = item[0] steps = item[1::] if derection in derect and steps.isdigit(): if derection == "A": init[0] -= int(item[1::]) el...
0
点赞
评论
收藏
转发
Sigmaifa
2022-05-23 14:57
已编辑
Python
题解 | #跳台阶# python3
代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 @param number int整型 @return int整型 def __init__(self): self.di = dict() def jumpFloor(self , number: int) -> int: if number in self.di.keys(): result = self.di[number] return result elif number <= 1:...
0
点赞
评论
收藏
转发
Sigmaifa
2020-10-19 17:45
Python
10/19 字典法 16进制转10进制。最快是int(input(),16),虽然对但是长度有限制 我已经通过这道算法题! 写出一个程序,接受一个十六进制的数,输出该数值的十进制表示。(多组同时输入 ) https://www.nowcoder.com/questionTerminal/8f3df50d2b9043208c5eed283d1d4da6
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务