1 2 3 4 5 ··· 20 下一页
摘要: https://ac.nowcoder.com/acm/problem/collection/160 https://ac.nowcoder.com/acm/problem/collection/382 阅读全文
posted @ 2020-04-15 09:46 Hazelxcf 阅读(83) 评论(0) 推荐(0)
摘要: P8865 [NOIP2022] 种花 #include <bits/stdc++.h> using namespace std; const int mod = 998244353,maxn = 1e3 + 10; int a[maxn][maxn],down[maxn][maxn], r[max 阅读全文
posted @ 2025-09-24 11:15 Hazelxcf 阅读(7) 评论(0) 推荐(0)
摘要: P2216 [HAOI2007] 理想的正方形 #include <bits/stdc++.h> using namespace std; const int maxn = 1e3 + 10; int a,b,n; int c[maxn][maxn]; deque <int> dq1,dq2; in 阅读全文
posted @ 2025-09-18 17:12 Hazelxcf 阅读(2) 评论(0) 推荐(0)
摘要: P4147 玉蟾宫 #include <bits/stdc++.h> using namespace std; const int maxn = 1e3 + 10; int n,m; int a[maxn][maxn] = {{0,0}}; int l[maxn][maxn],r[maxn][max 阅读全文
posted @ 2025-09-18 10:56 Hazelxcf 阅读(2) 评论(0) 推荐(0)
摘要: P7072 [CSP-J2020] 直播获奖 #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int n,w,cnt[610] = { 0 }; int main(){ ios::sync_with_s 阅读全文
posted @ 2025-09-17 09:14 Hazelxcf 阅读(4) 评论(0) 推荐(0)
摘要: P1115 最大子段和 妙 #include <bits/stdc++.h> using namespace std; #define int long long const int maxn = 2e5 + 10; int n,a[maxn],dp[maxn]; int ans = -100010 阅读全文
posted @ 2025-09-17 08:38 Hazelxcf 阅读(4) 评论(0) 推荐(0)
摘要: P2564 [SCOI2009] 生日礼物 #include <bits/stdc++.h> using namespace std; #define int long long const int maxn = 1e6 + 10; struct node{ int pos,cate; }; vec 阅读全文
posted @ 2025-09-16 09:25 Hazelxcf 阅读(4) 评论(0) 推荐(0)
摘要: P1886 滑动窗口 /【模板】单调队列 做题思路: #include <bits/stdc++.h> using namespace std; #define int long long const int maxn = 1e6 + 10; int n,k,a[maxn]; deque<int> 阅读全文
posted @ 2025-09-15 14:43 Hazelxcf 阅读(6) 评论(0) 推荐(0)
摘要: 清除界面:cls 查看安装的包 pip list 或者 别人想安装,可以先把txt发给他,然后pip install -r requirements.txt 阅读全文
posted @ 2024-08-18 20:12 Hazelxcf 阅读(15) 评论(0) 推荐(0)
摘要: python manage.py startapp api apps/api 运行 命令: python manage.py runserver 127.0.0.1:8000 其他问题: win: cd 进入venv下的Scripts 输入activate 激活的特点是什么? 在命令行的前面多了ve 阅读全文
posted @ 2024-08-18 08:47 Hazelxcf 阅读(13) 评论(0) 推荐(0)
摘要: terminal运行是PS而不是venu,如何改成venu File->setting->Tool->terminal然后改Shell path 阅读全文
posted @ 2024-08-15 20:49 Hazelxcf 阅读(24) 评论(0) 推荐(0)
1 2 3 4 5 ··· 20 下一页