舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ unsigned long long …… 题解列表 2023年01月06日 0 点赞 0 评论 546 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf…… 题解列表 2023年01月06日 0 点赞 0 评论 522 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比(C语言) 摘要:#include<stdio.h> #include<ctype.h>//tolower函数引用所需的头文件 #include<string.h> int main() { char st…… 题解列表 2023年01月06日 0 点赞 0 评论 516 浏览 评分:0.0
字符串输入输出函数(C语言) 摘要:#include<stdio.h> void fun(float a, char str[]) { char* p = str; float* q = &a; printf("plea…… 题解列表 2023年01月06日 0 点赞 0 评论 507 浏览 评分:0.0
比较字符串(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { char s1[100], s2[100]; char* p1 = s1, * p2 …… 题解列表 2023年01月06日 0 点赞 0 评论 492 浏览 评分:0.0
思维题-只需考虑三种情况 超级简单且明了! 摘要:解题思路:"""没有负号: 答案就是所有数的和有负号: 只要正数和负数搭配答案就是所有的数绝对值的和 纯正数和纯负数分开考虑"""注意事项:"" 题解列表 2023年01月06日 0 点赞 0 评论 578 浏览 评分:0.0
角谷猜想(C++简单版本) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n,n1,n2; cin…… 题解列表 2023年01月06日 0 点赞 0 评论 526 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,sum,a; cin>>n; int list[100]…… 题解列表 2023年01月06日 0 点赞 0 评论 433 浏览 评分:0.0
编写题解 1649: 蓝桥杯算法训练VIP-特殊的数字四十 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; int i = 0; int k1,k2,k3,k4; …… 题解列表 2023年01月07日 0 点赞 0 评论 432 浏览 评分:0.0
参考来自csdn 解题思路:这题我一开始总想着要确定一颗起始的珠子,再一直按照顺时针走到尾;看了题解才知道,只要挨着的都可以合成,不一定要按照从头到尾的顺序绕一圈。根据题意,可以发现每次合成需要A-B-C三颗珠子,A-C会被保留,再做一次乘法;B会被“吞掉”, 题解列表 2023年01月07日 0 点赞 0 评论 592 浏览 评分:0.0