题解列表
指针/引用练习之交换数字
摘要:参考代码:
```c
#include
void swap(int *a,int *b)
{
int t=*a;//传递过去的是指针,要解析出指向的值,再交换
*a=*b;……
蓝桥杯算法提高VIP-交换Easy
摘要:参考代码:
```c
#include
int main()
{
int n,m;
scanf("%d%d",&n,&m);
int a[n],x=0,y=0;
for(int……
四种方式进行字符串的倒叙输出
摘要:#define _CRT_SECURE_NO_WARNINGS
#include
#include
#include
//int main() {`
// char s[50];
// ……
蓝桥杯算法提高VIP-Quadratic Equation
摘要:解题思路:double sqrt(double x)float sqrtf(float x)long double sqrtl(long double x)注意事项:参考代码:#include<std……
2080: 蓝桥杯基础练习-十六进制转八进制
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
……
2082: 蓝桥杯基础练习-十六进制转十进制
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
long long int num;
……
2182: [编程入门]打印图案
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
cout<<" * "<<endl;
……
2096: 打印平行四边形
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
……