灌水=======标题太短了 啊啊啊啊啊啊啊 摘要:```cpp #include using namespace std; int main() { int n; int sum; while((scanf("%d",&n)) !…… 题解列表 2023年09月24日 0 点赞 0 评论 485 浏览 评分:4.0
1029: [编程入门]自定义函数处理素数题解 摘要:若是个素数,那么就不能被2~n-1的数整除。#include <bits/stdc++.h>bool prime_Index(int n){ for(int i = 2; i < n; i++) { …… 题解列表 2023年09月24日 0 点赞 0 评论 295 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:解题思路:n的范围达到了十的十八次方,如果只用循环的画时间复杂度会非常的大,而且只能拿到80分。注意事项:数据的类型要用长整型参考代码:#include<iostream>using namespac…… 题解列表 2023年09月24日 0 点赞 0 评论 235 浏览 评分:0.0
四下无人 投放C++代码 摘要:###*统计字符数 C++代码* ##### 先五星后复制 栓Q > 给定一个由a-z这26个字符组成的字符串,统计其中哪个字符出现的次数最多。 ###### 题目看上去挺简单的 但只是…… 题解列表 2023年09月24日 0 点赞 0 评论 315 浏览 评分:9.9
1781: 登陆验证问题(一) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string str1,str2; c…… 题解列表 2023年09月24日 0 点赞 0 评论 276 浏览 评分:0.0
1779: 你的第一个C语言程序 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { cout<<"Just do IT"<<endl…… 题解列表 2023年09月24日 0 点赞 0 评论 716 浏览 评分:2.0
1778: 罗列完美数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int num; int sum=0;…… 题解列表 2023年09月24日 0 点赞 0 评论 265 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; //定义日期结构体 struct Date { int year; …… 题解列表 2023年09月24日 0 点赞 0 评论 273 浏览 评分:9.9
1777: 循环练习之完美数判断 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n; int j=0; …… 题解列表 2023年09月24日 0 点赞 0 评论 252 浏览 评分:0.0
利用区间合并的思想求解 摘要:解题思路: 将区间合并之后即可解决区间重合问题注意事项: 注意数据类型参考代码:#include<iostream>#include<algorithm>#include<vector>using n…… 题解列表 2023年09月23日 0 点赞 0 评论 259 浏览 评分:0.0