整体比较容易,注意雏鸡即可 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k,l; for(i=0;i<=20;i++) { for(j…… 题解列表 2022年04月17日 0 点赞 0 评论 352 浏览 评分:0.0
直接一行代码输出 摘要:解题思路:每一次都是剩余值乘对应剩余利润注意事项:判断利润和当前值大小参考代码:import java.util.Scanner;public class Main { public static v…… 题解列表 2022年04月17日 0 点赞 0 评论 410 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序-STL-set容器 摘要:解题思路:利用STL中的set容器,会自动按照升序的排列方式进行存储,所以在插入数值后可以直接输出。set和multiset属于关联式容器,底层结构是用二叉树实现的。注意事项:要用multiset,s…… 题解列表 2022年04月17日 0 点赞 0 评论 461 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序-利用STL内置的算法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>#include<algorithm>void print(v…… 题解列表 2022年04月17日 0 点赞 0 评论 412 浏览 评分:0.0
自定义函数处理素数 摘要:解题思路:素数是只能被1和自身整除的数注意事项:i要小于a参考代码:#include<stdio.h>void prime(int a) { int count = 0; if (a < …… 题解列表 2022年04月17日 0 点赞 0 评论 419 浏览 评分:0.0
编写题解 1402: 简单的字符串 摘要:解题思路:字符数组用来作比较,数组用来计数。记得加判断注意事项:参考代码:#include<iostream>using namespace std;#include<string>int main(…… 题解列表 2022年04月18日 0 点赞 0 评论 427 浏览 评分:0.0
编写题解 1477: 字符串输入输出函数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>void printnum(){ cout<<"plea…… 题解列表 2022年04月18日 0 点赞 0 评论 368 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void digui(char *str, int m, int n) { if(n <= m) {…… 题解列表 2022年04月18日 0 点赞 0 评论 304 浏览 评分:0.0
编写题解 1509: 蓝桥杯算法提高VIP-图形输出 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" X | X | X "<<endl; co…… 题解列表 2022年04月18日 0 点赞 0 评论 383 浏览 评分:0.0
编写题解 1486: 蓝桥杯算法提高VIP-一元一次方程 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double a,b; …… 题解列表 2022年04月18日 0 点赞 0 评论 441 浏览 评分:0.0