C语言训练-计算1~N之间所有奇数之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,n;int main(){ cin>>n; fo…… 题解列表 2022年05月05日 0 点赞 0 评论 455 浏览 评分:0.0
C语言训练-求素数问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[1000005],n;int main(){ cin>…… 题解列表 2022年05月05日 0 点赞 0 评论 318 浏览 评分:0.0
C语言训练-素数问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,n;int main(){ cin>>n; fo…… 题解列表 2022年05月05日 0 点赞 0 评论 305 浏览 评分:0.0
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { vector<int> ans; int n,…… 题解列表 2022年05月05日 0 点赞 0 评论 605 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[100005],n,t=1;int main(){ c…… 题解列表 2022年05月05日 0 点赞 0 评论 336 浏览 评分:0.0
C语言训练-最大数问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100005],n;int main(){ for(;;) …… 题解列表 2022年05月05日 0 点赞 0 评论 298 浏览 评分:0.0
C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a=1,b=1,c,n;int main(){ cin>>n; …… 题解列表 2022年05月05日 0 点赞 0 评论 402 浏览 评分:0.0
C语言训练-"水仙花数"问题2 摘要:解题思路:把四个数算出来直接输出注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c,d;int main(){ cout…… 题解列表 2022年05月05日 0 点赞 0 评论 332 浏览 评分:0.0
C语言训练-"水仙花数"问题1 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c,d;int main(){ cin>>a; b=…… 题解列表 2022年05月05日 0 点赞 0 评论 363 浏览 评分:0.0
优质题解 题解2673: 蓝桥杯2022年第十三届省赛真题-最少刷题数(JAVA题解) 摘要:解题思路:排序+枚举注意事项:考试时候想得太复杂了。。。用了权值线段树去暴力模拟,果然TLE。本题首先需要对输入按值降序排序,之后可以看做不断将对称轴后的数向前插入,当然,为了节约时间,可以直接插入至…… 题解列表 2022年05月04日 0 点赞 2 评论 3259 浏览 评分:5.4