1644:最长字符串(使用结构体存储,扩展解法) 摘要:```cpp #include #include #include using namespace std; struct word { string w; in…… 题解列表 2024年10月04日 0 点赞 0 评论 458 浏览 评分:9.9
[蓝桥杯算法提高VIP-种树] - 我搜搜搜搜搜 摘要:# 思路 搜索:排除等效冗余+特判 ```cpp #include #define ULL unsigned long long #define LL long long #define …… 题解列表 2024年10月04日 2 点赞 0 评论 637 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-团建 摘要:解题思路:dfs,也就是深度优先搜索注意事项:有一个测试样例是错的,输入内容如下:4 2 49868141 62921933 1 1 49868141 62921933 1 2 3 1 1 …… 题解列表 2024年10月04日 8 点赞 1 评论 2147 浏览 评分:10.0
1192: 十->二进制转换 摘要:```cpp #include #include using namespace std; //进制转换并输出函数不考虑特殊情况 void transport(int x) { …… 题解列表 2024年10月03日 0 点赞 0 评论 567 浏览 评分:9.9
oliv_排除法暴力循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int sum = 0, arr[4]; for(int i=0; i<4; i++) …… 题解列表 2024年10月03日 0 点赞 0 评论 708 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Student{char number[10];char name[10];int score[3];};int main…… 题解列表 2024年10月02日 0 点赞 0 评论 569 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录(指针) 摘要:#include <stdio.h> // 引入标准输入输出头文件 // 定义学生结构体 struct Student { char number[10]; // 学号 char …… 题解列表 2024年10月02日 0 点赞 0 评论 570 浏览 评分:0.0
无聊的星期六 摘要:解题思路:#include <stdio.h> int main() { int i=0,a,b,num[100] = { 0 }; scanf("%d %d", &a…… 题解列表 2024年10月02日 0 点赞 0 评论 564 浏览 评分:0.0
无聊的星期六 摘要:解题思路:#include <stdio.h> int isprime(int); int main() { int n, m,sum=0; scanf("%d %d",…… 题解列表 2024年10月02日 2 点赞 0 评论 896 浏览 评分:0.0
PYthon 1479: 蓝桥杯算法提高VIP-删除数组中的0元素 摘要:解题思路:注意事项:参考代码:times = input()res = list(map(int,input().split(' ')))re = [i for i in res if…… 题解列表 2024年10月01日 0 点赞 0 评论 504 浏览 评分:0.0