dp:01背包 二维加一维 摘要://01背包:按照y总分析所写 用于学习记录 #include<iostream> using namespace std; const int N=1010; int v[N],w[N]…… 文章列表 2024年08月16日 0 点赞 0 评论 363 浏览 评分:0.0
dp:完全背包:三维,二维,一维 摘要://完全背包 #include<iostream> using namespace std; const int N=1010; int n,m; int v[N],w[N]; int…… 文章列表 2024年08月16日 0 点赞 0 评论 422 浏览 评分:0.0
【编程入门】温度转换 摘要:使用format格式或者直接输出的方式输出c=-40 1.获取输入的华氏温度 2.进行换算 3.输出摄氏温度 a=float(input()) c=5*(a-32)/9 #…… 文章列表 2024年09月08日 0 点赞 0 评论 248 浏览 评分:0.0
项目中遇到的问题 摘要:最近在写项目时,遇到了两个问题1、在项目中引入数据库之后,要使用数据库中的某一张表时会报一个错误:Unable to resolve table '表名' ;即无法找到此表。出现这个问…… 文章列表 2024年09月12日 0 点赞 0 评论 215 浏览 评分:0.0
mysql忘记密码后重置密码(适用于5.7与8.0) 摘要:1、停止mysql方法一:可使用win+R打开运行窗口,输入cmd打开黑窗口输入命令:net stop mysql 即可停止mysql(注意,命令中的mysql为你自己的数据库名称)方法二:在桌面找…… 文章列表 2024年09月19日 0 点赞 0 评论 283 浏览 评分:0.0
git推送冲突问题解决 摘要:在最近项目中遇到了git推送冲突的问题,产生这个问题一般有以下几种情况:1、其他人在我准备推送更改的同时,已经向远程仓库推送了与我本地修改相关的内容。2、我在本地修改的文件,与远程仓库中的文件在同一位…… 文章列表 2024年10月04日 0 点赞 0 评论 257 浏览 评分:0.0
蓝桥杯2024年第十五届省赛真题-好数 摘要:#include <bits/stdc++.h> using namespace std; int judge1(int num) { int n[9]; int f = 1…… 文章列表 2024年10月04日 0 点赞 0 评论 277 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-更小的数 摘要:#include <bits/stdc++.h> using namespace std; string str; int main() { ios::sync_with_std…… 文章列表 2024年10月05日 0 点赞 0 评论 324 浏览 评分:0.0
i++与++i,do-while循环与while循环 摘要:(1)do-while i++:#include<stdio.h>int main(){ int i=0; do { printf("count %d\n",i); …… 文章列表 2024年10月06日 0 点赞 0 评论 352 浏览 评分:0.0
Road(暂存代码) 摘要:```cpp #include using namespace std; typedef long long ll ; const int N = 1e5+10 ; ll a[N],v[N…… 文章列表 2024年10月17日 0 点赞 0 评论 387 浏览 评分:0.0