蓝桥杯算法提高VIP-质数的后代 摘要:#include<iostream>using namespace std;bool is_prime(int n){ if(n==1) return false; for(int i=2…… 题解列表 2022年03月20日 0 点赞 0 评论 491 浏览 评分:0.0
蓝桥杯2019年第十届省赛真题-特别数的和(Python) 摘要:解题思路:暴力循环,枚举注意事项:参考代码:n = int(input())s = 0for i in range(1,n+1): if str(i).count('2')!=0…… 题解列表 2022年03月20日 0 点赞 0 评论 441 浏览 评分:0.0
编写题解 1113: C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<ctype.h>using namespace std;int main(){ string str; …… 题解列表 2022年03月20日 0 点赞 0 评论 392 浏览 评分:0.0
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<ctype.h>using namespace std;int main(){ int a,b,c; f…… 题解列表 2022年03月20日 0 点赞 0 评论 429 浏览 评分:0.0
蓝桥杯算法提高VIP-欧拉函数 摘要:#include<iostream>using namespace std;int main(){ int a; cin>>a; int res=a; for(int i=2;…… 题解列表 2022年03月20日 0 点赞 0 评论 495 浏览 评分:0.0
题解 2274: 蓝桥杯2018年第九届真题-航班时间-(时间)=》时间戳!!! 摘要:解题思路:注意事项:next和nextLine的结合使用时间日期-时间戳时分秒的转化时:time/3600分:time%3600/60秒:time%3600%60参考代码:import java.ut…… 题解列表 2022年03月20日 0 点赞 0 评论 899 浏览 评分:0.0
刷题记录(头秃的第n天) 摘要:#include<stdio.h>int main(){ int i,j,soldier,temp; int num[10]; for(i=0;i<10;i++) scanf("%d…… 题解列表 2022年03月20日 0 点赞 0 评论 388 浏览 评分:0.0
分解质因数(dfs暴搜) 摘要:### 注意事项 2< =a< =b< =10000 输出是从小到大 形如k=a1*a2*a3...(a1< =a2< =a3...,k也是从小到大的)(具体可看样例) ### 思路分析 先将…… 题解列表 2022年03月20日 0 点赞 0 评论 460 浏览 评分:0.0
蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:注意事项:参考代码:print(len(input().split()))…… 题解列表 2022年03月20日 0 点赞 0 评论 515 浏览 评分:0.0
刷题记录(头秃的第n天) 摘要:#include<stdio.h>int maxnum(int max,int min);int minnum(int max,int min);int main(){ int i,j,max,m…… 题解列表 2022年03月20日 0 点赞 0 评论 379 浏览 评分:0.0