编写题解 1001: [编程入门]第一个HelloWorld程序(Python) 摘要:解题思路:只要用Python中print函数就行 注意事项:别把*的数量搞错了参考代码:print("**************************")print("Hello World!")…… 题解列表 2022年06月10日 0 点赞 0 评论 414 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:#include<stdio.h> int main() { int n; scanf("%d",&n); int i,j,ls[10000]={2},flag,k=1; for(i=3;…… 题解列表 2022年06月10日 0 点赞 0 评论 541 浏览 评分:9.9
1022: [编程入门]筛选N以内的素数 摘要:#include<stdio.h> int main() { int n; scanf("%d",&n); int i,j,ls[10000]={2},flag,k=1; for(i=3;…… 题解列表 2022年06月10日 0 点赞 0 评论 336 浏览 评分:0.0
最大子列求和问题 摘要:解题思路:当前子列每次自加一个,判断是否比最大子序列大,最大子序列更新,如果最大子序列小于零,则当前序列更新为0注意事项:参考代码:#include<stdio.h>int main(){ int N…… 题解列表 2022年06月10日 0 点赞 1 评论 348 浏览 评分:9.9
蓝桥杯算法提高vip- 数的划分 -java 摘要:解题思路:按照每组数字划分中最大的数字进行分组11,1 2 1,1,1 2,1 31,1,1,1 2,1,1, 2,2 3,1 41,1,1,1,1 2,1,1,1 2,2,1 …… 题解列表 2022年06月10日 0 点赞 0 评论 363 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:a=int(input()) ls=[2] for i in range(3,a+1,2): flag=0 for j in ls: if i%j==0: …… 题解列表 2022年06月10日 0 点赞 0 评论 310 浏览 评分:0.0
1022: [编程入门]筛选N以内的素数 摘要:a=int(input()) ls=[2] for i in range(3,a+1,2): flag=0 for j in ls: if i%j==0: …… 题解列表 2022年06月10日 0 点赞 0 评论 385 浏览 评分:0.0
1021: [编程入门]迭代法求平方根 摘要:#include<stdio.h> int main() { float n,m,a; scanf("%f",&a); n=a; while(1){ m=n; n=(n+a…… 题解列表 2022年06月10日 0 点赞 0 评论 382 浏览 评分:0.0
java代码求和 摘要:解题思路:注意事项:题目已经提示答案可能会爆int参考代码:import java.io.*;import java.util.*;import static java.lang.Math.max;i…… 题解列表 2022年06月10日 0 点赞 0 评论 1010 浏览 评分:9.9
照题目意思模拟即可 摘要:解题思路:注意事项:参考代码:import java.io.*;import java.util.*;import static java.lang.Math.max;import static ja…… 题解列表 2022年06月10日 0 点赞 0 评论 495 浏览 评分:0.0