蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,t=0; scanf("%d",&n); for(…… 题解列表 2023年01月06日 0 点赞 0 评论 410 浏览 评分:0.0
数据结构-字符串连接(C语言) 摘要:#include<stdio.h> #include<string.h> int main() { char str1[100],arr1[100]; char str2[100], a…… 题解列表 2023年01月06日 0 点赞 0 评论 305 浏览 评分:0.0
自由落体问题 摘要:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int i,n; float s=100,m=100; …… 题解列表 2023年01月06日 0 点赞 0 评论 226 浏览 评分:0.0
舍罕王的失算 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ unsigned long long …… 题解列表 2023年01月06日 0 点赞 0 评论 249 浏览 评分: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 评论 295 浏览 评分:0.0
蓝桥杯基础练习VIP-字符串对比(C语言) 摘要:#include<stdio.h> #include<ctype.h>//tolower函数引用所需的头文件 #include<string.h> int main() { char st…… 题解列表 2023年01月06日 0 点赞 0 评论 223 浏览 评分: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 评论 260 浏览 评分: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 评论 224 浏览 评分:0.0
思维题-只需考虑三种情况 超级简单且明了! 摘要:解题思路:"""没有负号: 答案就是所有数的和有负号: 只要正数和负数搭配答案就是所有的数绝对值的和 纯正数和纯负数分开考虑"""注意事项:"" 题解列表 2023年01月06日 0 点赞 0 评论 357 浏览 评分:0.0
角谷猜想(C++简单版本) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n,n1,n2; cin…… 题解列表 2023年01月06日 0 点赞 0 评论 275 浏览 评分:0.0