题解 1098: 陶陶摘苹果 摘要: #include using namespace std; int a[20000],b,c,sum; int main(){ for(int i=0…… 题解列表 2023年11月28日 0 点赞 0 评论 397 浏览 评分:0.0
蓝桥杯基础练习VIP-FJ的字符串 摘要:解题思路:注意事项:参考代码:// 包含标准输入输出库的头文件 #include <stdio.h> // 包含字符串操作库的头文件 #include <string.h> // 主函…… 题解列表 2023年11月28日 1 点赞 0 评论 382 浏览 评分:0.0
优质题解 IP判断纯暴力解(c语言题解) 摘要:解题思路:在基于Internet的程序中,我们常常需要判断一个IP字符串的合法性。合法的IP是这样的形式:A.B.C.D其中A、B、C、D均为位于[0, 255]中的整数。为了简单起见,我们规定这四个…… 题解列表 2023年11月28日 302 点赞 1 评论 2879 浏览 评分:8.0
题解 2834: 与指定数字相同的数的个数 摘要: #include using namespace std; int main(){ int a[100],c,sum=0,b; cin>>c; …… 题解列表 2023年11月28日 0 点赞 0 评论 298 浏览 评分:0.0
c++解决完数,简单易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int i,j,n,N; cin>>N; for(i=1;i<N;i…… 题解列表 2023年11月28日 0 点赞 0 评论 308 浏览 评分:9.9
c++指针法(指针练习) 摘要:解题思路:初试指针注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[9]; int i; for(i=0;i<9…… 题解列表 2023年11月28日 0 点赞 0 评论 351 浏览 评分:0.0
这题简单吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d",&a,&b); c=a%b; p…… 题解列表 2023年11月28日 0 点赞 0 评论 232 浏览 评分:0.0
题解 1023: [编程入门]选择排序——冒泡排序 摘要:解题思路: 第一步:利用for循环依次输入10个元素。 第二步:利用冒泡排序(for循环与if判断的嵌套)将10个元素正序排序。 第三步:利用for循环依次输出10个元素。注意事项:…… 题解列表 2023年11月28日 0 点赞 0 评论 437 浏览 评分:9.3
c代码记录之只出现一次的首个字符 摘要: #include #include int main(){ char str[100000]; gets(str); …… 题解列表 2023年11月28日 0 点赞 0 评论 238 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-更小的数(C语言版) 摘要:解题思路:思路详情见代码注释注意事项:适合看懂题目但无法下手或莫名奇妙报错的人群看参考代码:#include <stdio.h>#include <string.h>#define LEN 10000…… 题解列表 2023年11月28日 0 点赞 0 评论 742 浏览 评分:7.3