题解列表
整体比较容易,注意雏鸡即可
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k,l; for(i=0;i<=20;i++) { for(j……
编写题解 1023: [编程入门]选择排序-STL-set容器
摘要:解题思路:利用STL中的set容器,会自动按照升序的排列方式进行存储,所以在插入数值后可以直接输出。set和multiset属于关联式容器,底层结构是用二叉树实现的。注意事项:要用multiset,s……
编写题解 1023: [编程入门]选择排序-利用STL内置的算法
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>#include<algorithm>void print(v……
编写题解 1402: 简单的字符串
摘要:解题思路:字符数组用来作比较,数组用来计数。记得加判断注意事项:参考代码:#include<iostream>using namespace std;#include<string>int main(……
编写题解 1477: 字符串输入输出函数
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<string>void printnum(){ cout<<"plea……
1575: 蓝桥杯算法提高VIP-递归倒置字符数组
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
void digui(char *str, int m, int n)
{
if(n <= m)
{……
编写题解 1509: 蓝桥杯算法提高VIP-图形输出
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" X | X | X "<<endl; co……