1162: 密码(判断密码是否合规) 摘要:```python #将四种不同类型的字符存在四个列表中,长度符合要求的情况下判断密码的字符种类是否有3种及以上。 #(易错点,读入的密码是以字符形式存储的,因此数字0-9的这类对应的列表中也应该…… 题解列表 2021年06月17日 0 点赞 1 评论 605 浏览 评分:9.9
回文数(二) 判断回文数(简单易懂) 摘要:```python # 判断回文数 def ishuiwen(a): b = (str(a)[::-1]) if b == str(a): return 1…… 题解列表 2021年06月17日 0 点赞 0 评论 700 浏览 评分:9.9
[出圈]幸存者问题 摘要:解题思路:注意事项:参考代码:while True: try: a, b = map(int, input().strip().split()) l = [i for…… 题解列表 2021年06月17日 0 点赞 0 评论 405 浏览 评分:0.0
链表合并C语言实现 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <stdlib.h>typedef struct node{ int num…… 题解列表 2021年06月17日 0 点赞 0 评论 407 浏览 评分:8.0
素数问题python 摘要:解题思路:注意事项:参考代码:n = int(input())if n == 1: print(0)else: flag = 1 for j in range(2,n//2+1): …… 题解列表 2021年06月17日 0 点赞 0 评论 592 浏览 评分:0.0
C语言训练-最大数问题 摘要:解题思路:注意事项:参考代码:a = 1alist = []while a: alist += list(map(int, input().split())) if -1 in alist…… 题解列表 2021年06月16日 0 点赞 0 评论 352 浏览 评分:0.0
大数阶乘加法 摘要:```java import java.math.BigInteger; import java.util.*; public class Main { public static vo…… 题解列表 2021年06月16日 0 点赞 0 评论 526 浏览 评分:6.0
用到两个数组 摘要:解题思路:一直输出第一个数组,当到达指定位置时,输出第二个数组注意事项:参考代码:#include <stdio.h>int main(){ char a[1000],b[1000]; i…… 题解列表 2021年06月16日 0 点赞 0 评论 469 浏览 评分:0.0
简单的代码 摘要:解题思路:先加起来,再改变数值注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ double N,sum,c; doub…… 题解列表 2021年06月16日 0 点赞 0 评论 555 浏览 评分:9.9
清晰明了的C语言代码 摘要:解题思路:代码已经很清晰明了了,这里解释一下为什么循环后需要减去最后的高度m假设一组数据是 m:1000 n:1 ,结合下面的代码, 如果不减去 最后的m结果是 : 500 ,1500小球的状…… 题解列表 2021年06月15日 0 点赞 0 评论 441 浏览 评分:0.0