[编程入门]筛选N以内的素数------超级简单 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(2,n): for j in range(2,i): if i % j ==0:…… 题解列表 2022年04月06日 0 点赞 0 评论 583 浏览 评分:6.0
Sine之舞 1、递归 2、for循环 摘要:1、递归#include <stdio.h> int a=0; int n,b; int A(int b) { //A3=sin(1–sin(2+sin(3))) a++; if(…… 题解列表 2022年04月06日 0 点赞 0 评论 608 浏览 评分:9.9
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int A,B; scanf("%d %d",&A,&B); printf("C:%d\n…… 题解列表 2022年04月06日 0 点赞 0 评论 434 浏览 评分:0.0
利用集合的元素不可重复性 摘要:解题思路:注意事项:参考代码:x=input()a=list(x.split())b=set()for i in a: b.add(i)print(len(b))…… 题解列表 2022年04月06日 0 点赞 0 评论 434 浏览 评分:0.0
[编程入门]带参数宏定义练习(暴力解法,超级容易学会) 摘要:解题思路:注意事项:参考代码思路:直接一行输入多个并逆序即为交换x=list(map(int,input().split())) x=x[::-1] for i in x: print(…… 题解列表 2022年04月06日 0 点赞 0 评论 777 浏览 评分:9.9
暴力模拟移动距离 摘要:```java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamRead…… 题解列表 2022年04月06日 0 点赞 0 评论 438 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计(超级容易理解 特别适合新手理解) 摘要:解题思路:注意事项:参考代码:第一种自定义函数方式:def person_pratice(n): ans=0#判断字母 包括大小写 result=0#判断数字 space…… 题解列表 2022年04月06日 0 点赞 1 评论 623 浏览 评分:8.0
蓝桥杯2020年第十一届省赛真题-子串分值-贡献值法(C) 摘要:###### ### ## 算法描述:究其根本,是一种减少时间复杂度的算法——减少不必要的比较和存储步骤算法描述:究其根本,是一种减少时间复杂度的算法——减少不必要的比较和存储步骤 ----…… 题解列表 2022年04月06日 0 点赞 1 评论 804 浏览 评分:9.3
自定义函数之数字分离(适合新手理解) 摘要:解题思路:注意事项:参考代码:注意事项:一定要注意格式 和审题def person_pratice(n): for i in str(n): print(int(i),en…… 题解列表 2022年04月06日 0 点赞 0 评论 434 浏览 评分:9.9
蓝桥杯2018年第九届真题-乘积最大 摘要:```cpp #include #include using namespace std; typedef long long LL; const int N = 100000; cons…… 题解列表 2022年04月06日 0 点赞 0 评论 688 浏览 评分:9.3