#include#includeusing namespace std;const int N = 100010;int n;long long s[N];long long ans;long long a[N];int main() {cin >> n;for (int i ...
#include#include#includeusing namespace std;const int N = 100010;int dp1[N];int dp2[N];char arr1[N];char arr2[N];int main(){cin >> arr1 + 1;...
原题链接: 蓝桥杯2018年第九届真题-递增三元组 - C语言网 (dotcpp.com)https://www.dotcpp.com/oj/problem2194.htmlo(n3)+优化 o(n2)ac代码: #include#inc...
邻接表:稀疏图 #include#include#includeusing namespace std;const int N = 100010;int h[N], e[N], ne[N], w[N], idx;//邻接表int d[N];bool st[N];int n...
原题链接: 2020蓝桥杯省赛C/C++ 七段码 简单易懂的思路_Sh0wMa1ker的博客-CSDN博客_蓝桥杯七段码https://blog.csdn.net/weixin_45783661/article/details/1...
原题链接: 900. 整数划分 - AcWing题库https://www.acwing.com/problem/content/description/902/ #include#includeusing namespace std;const int N = 101...
一、01背包问题(名字由来:每件物品只能用一次) 2. 01背包问题 - AcWing题库https://www.acwing.com/problem/content/description/2/ #include#includeusing...
基于STM32数码相册 1.硬件平台 CPU:STM32F103ZE 屏幕:3.5寸TFTLCD屏 触控:电阻式触摸屏xpt2046 SD卡、外扩Sram 2.示例效果 STM32数码相册 SD...