蓝桥杯算法训练VIP-薪水计算-题解(C语言代码) 摘要:```cpp #include #include using namespace std; int main(){ /**< 编写一个程序,计算员工的周薪。 …… 题解列表 2020年03月29日 0 点赞 0 评论 1090 浏览 评分:9.9
[编程入门]结构体之成绩统计2-题解(C语言代码) 摘要:```c #include #include typedef struct student ss; struct student { char id[20]; char …… 题解列表 2020年03月29日 0 点赞 0 评论 1415 浏览 评分:9.9
蓝桥杯2019年第十届真题-完全二叉树的权值 (C++代码) 摘要:输入的时候计算每层的和; ```cpp #include #define lld long long int using namespace std; int tree(int n)…… 题解列表 2020年03月30日 0 点赞 0 评论 1000 浏览 评分:9.9
取石子游戏-题解(C语言代码) 摘要: #include #include int main(void) { int a = 0, b = 0; while (E…… 题解列表 2020年03月30日 0 点赞 0 评论 1295 浏览 评分:9.9
优质题解 JakeLin-1645题-[算法训练VIP]比赛安排-题解(C++代码)-简单模拟 摘要:**思路:** 以n=3为例,总共8个人,7天,那么第一列必是1和另外七个人打。 后面的还没打过的两两一组,但是注意如果他们俩前些日子打过了,就不要安排他们一起打了,所以**用到viss数组记录谁…… 题解列表 2020年03月30日 0 点赞 0 评论 2224 浏览 评分:9.9
[编程入门]二维数组的转置-题解(C语言代码) 摘要: #include int func(int a[3][3]){ for(int i=0;i…… 题解列表 2020年03月30日 0 点赞 0 评论 969 浏览 评分:9.9
最小重量机器设计问题-题解(C++代码)深度优先搜索 摘要:题目没给数据范围,就随手试了下DFS,居然没超时 ```cpp #include using namespace std; const int maxn=1005; int n,m,d,c…… 题解列表 2020年03月30日 0 点赞 0 评论 1373 浏览 评分:9.9
核电站问题 (C++代码)记忆化搜索 摘要:```cpp #include using namespace std; long long dp[5][50]; long long DFS(int lx,int m) //lx表示已连…… 题解列表 2020年03月30日 0 点赞 3 评论 1232 浏览 评分:9.9
利用选择排序法从小到大输出两个链表合一的数据(C语言代码) 摘要:我的解题思路:1,建两个链表(尾插); 2.合二为一; 3.选择排序,边输出,边排序 #include #include typedef struct Student…… 题解列表 2020年03月30日 1 点赞 2 评论 1491 浏览 评分:9.9
二级C语言-统计字符-题解(C语言代码) 摘要:```c #include void ClaChar(char* ch); int main() { char ch[100]; gets(ch); // scan…… 题解列表 2020年03月30日 0 点赞 0 评论 835 浏览 评分:9.9