C++求一个闭区间内所有素数和 摘要:解题思路:注意事项:注意1不是素数,在判断是要注意参考代码:#include<iostream>using namespace std;bool check(int i)////用来检验一个数是否是素…… 题解列表 2022年11月04日 0 点赞 0 评论 441 浏览 评分:9.9
编写题解 1206: 字符串问题(最短) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string a;//定义 cin>>a;//输出 …… 题解列表 2022年11月04日 0 点赞 0 评论 465 浏览 评分:0.0
1828: 蓝桥杯2015年第六届真题-密文搜索暴力搜索 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char s[20000];bool fx(char* s1, char* s2) …… 题解列表 2022年11月04日 0 点赞 0 评论 510 浏览 评分:9.9
判断是否为两位数 摘要:解题思路:注意事项:输入的数值大于0参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a/100<1) p…… 题解列表 2022年11月04日 0 点赞 0 评论 500 浏览 评分:0.0
无语数据结构-广义表的基本操作 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <stack>using namespace std;int main(){ stack<char> s; …… 题解列表 2022年11月04日 0 点赞 0 评论 499 浏览 评分:9.9
蓝桥杯2020年第十一届省赛真题-平面切分 蓝桥杯加油!!! 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=1005;set<pair<int,int>> line;i…… 题解列表 2022年11月04日 0 点赞 0 评论 547 浏览 评分:9.9
明白题意写题解 摘要:注意事项: 要枚举的是游戏的结果,不是游戏方式。不要把石头剪刀布枚举出来。 只是要求用输入的0、1、2表示石头、布、剪刀。参 题解列表 2022年11月04日 0 点赞 0 评论 469 浏览 评分:0.0
采药python,不知哪里错了,请求支援 摘要:解题思路:注意事项:参考代码:各位大神帮我看看哪里有问题,实在找不出哪里错了。。。。。我测试的数据都成功t,m = map(int,input().split())s = []h = 0sum = 0…… 题解列表 2022年11月04日 0 点赞 0 评论 596 浏览 评分:9.9
C语言考试练习题_一元二次方程(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b,c,x1,x2,t; scanf("%lf %lf %lf",&a,&b,&c…… 题解列表 2022年11月04日 0 点赞 0 评论 439 浏览 评分:9.9
1009: [编程入门]数字的处理与判断(入门新手) 摘要:#include<stdio.h>int main(){ int a,b,c,d,e,f,t; scanf("%d",&a); b=a/10000; c=a/1000%10; d=a/100%10; …… 题解列表 2022年11月04日 0 点赞 0 评论 312 浏览 评分:0.0