【C语言题解】1025: [编程入门]数组插入处理 摘要:``` #include 定义一个数组来存放数字 int number [15]; int main(){ //清空数组 memset (number,0,sizeof(num…… 题解列表 2024年03月05日 0 点赞 0 评论 213 浏览 评分:0.0
动态规划 最长公共子序列 摘要:解题思路:注意事项:参考代码:a = list(input()) b = list(input()) la = len(a) lb =len(b) dp=[[0 for i in range(…… 题解列表 2024年03月05日 0 点赞 0 评论 450 浏览 评分:0.0
暴力法,蓝桥杯2020年第十一届省赛真题-回文日期 摘要:解题思路:注意事项:参考代码:from datetime import timedelta, datetime def pan1(day): for i in range(4): …… 题解列表 2024年03月05日 0 点赞 0 评论 348 浏览 评分:9.9
The 3n + 1 problem 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int a,b; int i = 0; int x; while (scan…… 题解列表 2024年03月05日 1 点赞 0 评论 250 浏览 评分:10.0
简单易懂的解题思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[1000],x,y,k; scanf("%d",&n); for(i=0;…… 题解列表 2024年03月05日 0 点赞 0 评论 383 浏览 评分:0.0
简单易懂的解题思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,nu=0,mu=0; scanf("%d%d",&n,&m); for(i…… 题解列表 2024年03月05日 0 点赞 0 评论 298 浏览 评分:9.9
巨巨巨简单的思路但略微巧妙的设计(按题目要求来) 摘要:解题思路:首先该题主要是通过题目描述,大家可以在草稿上以测试数据查看整个过程糖果的变化,这里因为是绕圈循环变化,所以采用数组。会发现:每次分糖果时该小朋友的糖果数为原来小朋友糖果数的一半加下一个小朋友…… 题解列表 2024年03月05日 1 点赞 1 评论 280 浏览 评分:9.9
双向循环链表:C++面向对象 摘要: ###### 参考代码 ```cpp #include using namespace std; struct node { int data; node* …… 题解列表 2024年03月04日 0 点赞 0 评论 286 浏览 评分:9.9
图的遍历-DFS深度优先搜索(C++) 摘要:#include<iostream> using namespace std; #define MAX_VERTEX_NUM 20 // 定义最大结点数 int graph[MAX_VERTEX…… 题解列表 2024年03月04日 0 点赞 0 评论 430 浏览 评分:0.0
滑动窗口+优先队列 Python解法 简洁写法 摘要:可以先把Leetcode上面这题写了[滑动窗口最大值](https://leetcode.cn/problems/sliding-window-maximum/submissions/50760610…… 题解列表 2024年03月04日 0 点赞 0 评论 807 浏览 评分:7.2