题解列表
蓝桥杯算法提高VIP-输入输出格式练习 题解(c++语言)
摘要:解题思路:按题目格式输入输出就可以了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a;double b;char ch;int……
题解 1847: 字符串中间和后边*号删除(换一种思路)
摘要:#include<iostream>
#include<algorithm>
#include<string>
using namespace std;
int main()
{
……
1034 自定义函数之数字分离
摘要:参考代码: #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数for i in input():print(i,end=" ")……
1035 自定义函数之字符串字符类型统计
摘要:解题思路:1.输入2.统计个数 并存储到相应的变量当中去3.输出4个数字 并用空格分开注意事项: 将变量初始化 便于后面计算参考代码: a=b=c=d=0 #初始化num = input() #……
1036 带参数宏定义练习
摘要:参考代码: #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数a,b = map(int,input().split())print(b,a)……
1037 宏定义的练习
摘要:解题思路:1.输入两个整数2.求两个整数相除的余数注意事项:参考代码: a,b = map(int,input().split()) print(a%b)……
[编程入门]二维数组的转置
摘要:#include<bits/stdc++.h>using namespace std;long long a[1005][1005];int main(){ for(int i=1;i<=3;i++)……
[编程入门]数组插入处理
摘要:#include<bits/stdc++.h>using namespace std;long long a[800000];int main(){ for(int i=1;i<=10;i++) c……