4thirteen2one
4thirteen2one
全部文章
题解
归档
标签
去牛客网
登录
/
注册
4thirteen2one的博客
全部文章
/ 题解
(共23篇)
题解 | #HJ20 密码验证合格程序#
Python版本 import sys def check(passwd): status = True if len(passwd) >= 8: flags = [False] * 4 for c in passwd: ...
Python3
2022-04-17
0
1085
题解 | #HJ17 坐标移动#
Python+正则表达式 import re s = input() mvs = [mv for mv in s.split(';') if re.match(r"^([AWSD]\d{1,2})?$", mv)] x, y = 0, 0 for mv in mvs: if mv: ...
Python3
C
2022-04-17
0
285
题解 | #HJ46 截取字符串#
C语言版本 思路:调用 string.h 中的 strncpy #include <stdio.h> #include <string.h> int main() { char string[1000]; scanf("%s", string); i...
C
Python3
2022-04-17
9
1107
首页
上一页
1
2
3
下一页
末页