题解列表
新手简单快速解决!!!
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n = 0, x = 0, y = 0; cin ……
蓝桥杯2022年第十三届省赛真题-刷题统计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int a, b, n, day = 0; scanf("%ld%ld%ld", &a, ……
c++ STL解法,用上vector容器
摘要:#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main()
{
int……
非递归方法解决最长公共子序列
摘要:解题思路:使用二维数组来记录相等的情况,根据左边和上方的数字以及相等的情况来为二维数组赋值注意事项:起始项为【1,1】,所以要i-1,j-1;参考代码:#include <iostream>#incl……
c语言求解链表之节点删除
摘要:```c
#include
#include
#define _CRT_SECURE_NO_WARNINGS 1
typedef struct student
{
int num;……
C++_dfs容易理解
摘要:解题思路:10个位置每个位置上找到满足的数放置注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int n;int ar……