去掉空格(c语言代码) 摘要:```c #include #include void removeblank(char* s); int main() { char strs[101] = { 0 }; wh…… 题解列表 2023年04月28日 0 点赞 0 评论 275 浏览 评分:9.9
二级C语言-统计字符 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int zimu=0,num=0,kon=0,oth=0; char c; …… 题解列表 2023年04月28日 0 点赞 1 评论 352 浏览 评分:0.0
留住了塔没留住她:[编程入门]三个数最大值 摘要:解题思路: 学过C++都知道,C++有一个函数叫做“max( 变量A , 变量B );”它可以让我们得出变量A 变量B的最大值 所以我们可以使用这个函数。注意事项: 注意:不管你学了…… 题解列表 2023年04月28日 0 点赞 2 评论 643 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names…… 题解列表 2023年04月28日 0 点赞 0 评论 179 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-小蓝的旅行计划(优先队列+线段树or树状数组) 摘要:### 蓝桥杯2023年第十四届省赛真题-小蓝的旅行计划(优先队列+线段树or树状数组) *** 若没有油箱的限制,仅用优先队列即可。将所有加油站扔到堆里,贪心得在油价最少的加油站加油。 但…… 题解列表 2023年04月28日 0 点赞 0 评论 1710 浏览 评分:6.3
题目 1850: 判断第几天 摘要:解题思路: for循环+switch足以解这道题注意事项:1.2月的闰月要判断 2.循环的条件 int i = 1; i < m; i++ 不能等于m不然会多加一个月份的天数 3. sum在每一次输…… 题解列表 2023年04月28日 0 点赞 0 评论 234 浏览 评分:0.0
孤独的骑士,偏移量计算 摘要:#include int in_board(char x, char y); int in_board_cnt(char x, char y); int main(void) { …… 题解列表 2023年04月28日 0 点赞 0 评论 151 浏览 评分:0.0
计算鞍点计算鞍点计算鞍点计算鞍点 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,m=0,n=0,t=0; int a[100][100],b[50],c[50]; for(i=…… 题解列表 2023年04月28日 0 点赞 0 评论 427 浏览 评分:9.9
正解(暴力bfs) 摘要:### 蓝桥杯2023年第十四届省赛真题-合并区域(暴力bfs) 已更新std。 原先错误std以为只能合并两块,殊不知可以有不止两块合并。 考虑暴力$$bfs$$。围绕一块地建图,另一块地…… 题解列表 2023年04月28日 0 点赞 4 评论 1165 浏览 评分:8.0
[编程入门]完数的判断 摘要: ```c #include #include int Find(int n,int arr[]) { memset(arr, 0, sizeof(int) * 200); …… 题解列表 2023年04月27日 0 点赞 0 评论 259 浏览 评分:9.9