编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Student{char number[10];char name[10];int score[3];};int main…… 题解列表 2024年10月02日 0 点赞 0 评论 308 浏览 评分:0.0
oliv_排除法暴力循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum = 0, arr[4]; for(int i=0; i<4; i++) …… 题解列表 2024年10月03日 0 点赞 0 评论 381 浏览 评分:0.0
如何方便又快捷,switch给你答案 摘要:#include <stdio.h>//完成利润计算int main(){ double i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; …… 题解列表 2024年10月03日 1 点赞 0 评论 649 浏览 评分:10.0
1192: 十->二进制转换 摘要:```cpp #include #include using namespace std; //进制转换并输出函数不考虑特殊情况 void transport(int x) { …… 题解列表 2024年10月03日 0 点赞 0 评论 206 浏览 评分:9.9
蓝桥杯2024年第十五届省赛真题-团建 摘要:解题思路:dfs,也就是深度优先搜索注意事项:有一个测试样例是错的,输入内容如下:4 2 49868141 62921933 1 1 49868141 62921933 1 2 3 1 1 …… 题解列表 2024年10月04日 8 点赞 1 评论 1673 浏览 评分:10.0
[蓝桥杯算法提高VIP-种树] - 我搜搜搜搜搜 摘要:# 思路 搜索:排除等效冗余+特判 ```cpp #include #define ULL unsigned long long #define LL long long #define …… 题解列表 2024年10月04日 1 点赞 0 评论 304 浏览 评分:10.0
1644:最长字符串(使用结构体存储,扩展解法) 摘要:```cpp #include #include #include using namespace std; struct word { string w; in…… 题解列表 2024年10月04日 0 点赞 0 评论 132 浏览 评分:9.9
3209: 蓝桥杯2024年第十五届省赛真题-好数 摘要:解题思路:注意事项:参考代码:def is_good_number(num): k = 1#初始化变量k为1,用于跟踪当前数字的位数 (这里从右边开始,第一位是奇数) while num:…… 题解列表 2024年10月04日 1 点赞 0 评论 424 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-成绩统计 摘要:**注意:** 本题的方差计算公式疑似有误。应为$$\sigma^2 = \frac{\sum (X-\mu)^2}{N}$$。其他的没什么好说的,这题就是模拟。 **代码:** ```cp…… 题解列表 2024年10月04日 9 点赞 0 评论 1593 浏览 评分:10.0
1415:挚爱C语言(动态开辟二维数组空间C/C++解决问题) 摘要:c++语言动态开辟二维数组空间 ```cpp char** p = new char* [n]; for (int i = 0; i < n; i++) { p[i] = n…… 题解列表 2024年10月04日 0 点赞 0 评论 115 浏览 评分:9.9