题解列表
小九九 (C++代码)
摘要:#include"bits/stdc++.h"
using namespace std;
int main()
{
for(int i=1;i<=9;i++)
{
for(int j……
蓝桥杯算法提高- c++_ch02_02 (C++代码)
摘要:#include"bits/stdc++.h"
using namespace std;
int main()
{
int a,b;
char c;
cin>>a>>b>>c;
……
蓝桥杯算法提高- c++_ch02_03 (C++代码)
摘要:解题思路:找出所有能出现的结果即可
#include"bits/stdc++.h"
using namespace std;
int main()
{
int a,b;
cin>>a>……
求输入数据绝对值 (C++代码)
摘要:注意事项:注意输入和输出类型即可
#include"bits/stdc++.h"
using namespace std;
int main()
{
float n;
while(ci……
蓝桥杯基础练习VIP-分解质因数 (C++代码)
摘要:#include"bits/stdc++.h"
using namespace std;
int is(int x)
{
if(x==1)
return 0;
for(int i=2……
蓝桥杯基础练习VIP-字符串对比 (C++代码)
摘要:解题思路:首先判断字符串的长度,如果不等则直接输出1,如果相等则继续判断,如果两个字符串完全相等,
则输出2,不等则继续判断,将大写字母转换成小写字母后两个字符串相等,则输出3,如果上述条件都不满足……
C语言程序设计教程(第三版)课后习题6.4 (C语言代码)
摘要:解题思路:递归注意事项DEV上测试并提交有效参考代码:#include <stdio.h>long int F(int n);int main(){ int n; scanf("%d",&n); if……
蓝桥杯算法提高VIP-数组输出 (C++代码)
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
struc……
【蟠桃记】 (C语言代码)
摘要:#include<stdio.h>
int main()
{
int i,j,n,a[31];
while(~scanf("%d",&n))
{
a[n]=1;
for(i……