二级C语言-成绩归类(水题) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a=0,b=0,c=0; while(scanf("%d",&n)&&n>0){ if(n>=8…… 题解列表 2023年01月11日 0 点赞 0 评论 290 浏览 评分:0.0
用字符串自定义函数分离 摘要:解题思路:注意事项:注意'\0'不要漏掉参考代码:#include <stdio.h>#include <string.h>int main(){ char a[5]; gets(a);/…… 题解列表 2023年01月11日 0 点赞 0 评论 329 浏览 评分:0.0
【Python题解】蓝桥杯算法提高VIP-笨小猴 摘要:参考代码:s = list(input()) num = [] for i in set(s): num.append(s.count(i)) result = max(num) - …… 题解列表 2023年01月11日 0 点赞 0 评论 341 浏览 评分:9.9
【Python题解】蓝桥杯算法提高VIP-统计单词数 摘要:解题思路:字符串的 strip(), split(), upper() 方法;列表的 count() 方法;格式化输出。参考代码:s = input().strip().split() word =…… 题解列表 2023年01月11日 0 点赞 0 评论 368 浏览 评分:9.9
结构体之成绩记录(C语言) 摘要:#include<stdio.h> typedef struct student { char studentID[20]; char studentName[20]; int sco…… 题解列表 2023年01月11日 0 点赞 0 评论 282 浏览 评分:0.0
2176仙岛求药 中等BFS(注释很详细) 摘要:解题思路:经典的BFS.注意事项:关于BFS/DFS我已经写过几篇题解了,这里就不再啰嗦了. 对于DFS/BFS特性的说明与比较,我放在了我的以下两篇题解中,有兴趣可以看看.…… 题解列表 2023年01月11日 0 点赞 1 评论 359 浏览 评分:7.3
通俗易懂C++ 摘要:参考代码:#include<iostream> using namespace std; void f(int x){ cout<<x<<"="; for(int i=2;i<…… 题解列表 2023年01月11日 0 点赞 0 评论 303 浏览 评分:0.0
python-dfs实现全排列 摘要:# Author : luoxijixian # Createtime : 2023/1/6 # Filename : 题目 3030 全排列 # Description : simple in…… 题解列表 2023年01月11日 0 点赞 0 评论 470 浏览 评分:0.0
2774: 计算三角形面积 摘要:```cpp #include #include #include using namespace std; double getBC(double x1,double y1,double …… 题解列表 2023年01月11日 0 点赞 5 评论 545 浏览 评分:6.0
结构体之时间设计(C语言) 摘要:#include<stdio.h> typedef struct date { int year; int month; int day; }DATE; int main() {…… 题解列表 2023年01月11日 0 点赞 0 评论 252 浏览 评分:0.0