[编程入门]筛选N以内的素数 摘要:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long zs(long long cao…… 题解列表 2022年05月17日 0 点赞 0 评论 349 浏览 评分:9.9
[编程入门]数组插入处理 摘要:#include<bits/stdc++.h>using namespace std;long long a[800000];int main(){ for(int i=1;i<=10;i++) c…… 题解列表 2022年05月17日 0 点赞 1 评论 894 浏览 评分:9.9
[编程入门]二维数组的转置 摘要:#include<bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ for(int i=1;i<=3;i++)…… 题解列表 2022年05月17日 0 点赞 0 评论 598 浏览 评分:9.9
数字排序(冒泡法) 摘要:解题思路:若十个数进行排序时,利用“冒泡法”进行排序。先将10个数中最小的数与a[0]对换,再将a[1]到a[9]中最小的数与a[1]对换,再比较一轮,找出一个未经排序的数中最小的一个,共比较9轮。注…… 题解列表 2022年05月17日 0 点赞 0 评论 507 浏览 评分:9.9
1037 宏定义的练习 摘要:解题思路:1.输入两个整数2.求两个整数相除的余数注意事项:参考代码: a,b = map(int,input().split()) print(a%b)…… 题解列表 2022年05月17日 0 点赞 0 评论 699 浏览 评分:8.7
1036 带参数宏定义练习 摘要:参考代码: #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数a,b = map(int,input().split())print(b,a)…… 题解列表 2022年05月17日 2 点赞 0 评论 586 浏览 评分:6.7
1035 自定义函数之字符串字符类型统计 摘要:解题思路:1.输入2.统计个数 并存储到相应的变量当中去3.输出4个数字 并用空格分开注意事项: 将变量初始化 便于后面计算参考代码: a=b=c=d=0 #初始化num = input() #…… 题解列表 2022年05月17日 0 点赞 0 评论 336 浏览 评分:0.0
1034 自定义函数之数字分离 摘要:参考代码: #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数for i in input():print(i,end=" ")…… 题解列表 2022年05月17日 0 点赞 0 评论 445 浏览 评分:9.9
题解 1847: 字符串中间和后边*号删除(换一种思路) 摘要:#include<iostream> #include<algorithm> #include<string> using namespace std; int main() { …… 题解列表 2022年05月17日 0 点赞 0 评论 351 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习 题解(c++语言) 摘要:解题思路:按题目格式输入输出就可以了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a;double b;char ch;int…… 题解列表 2022年05月17日 0 点赞 0 评论 422 浏览 评分:10.0