上一页 1 2 3 4 5 6 ··· 30 下一页
摘要: https://www.acwing.com/problem/content/1493/ 输入样例1: 4 1 1 2 输出样例1: 2 输入样例2: 10 5 1 2 3 4 5 6 7 8 9 10 输出样例2: 112512 #include<bits/stdc++.h> using name 阅读全文
posted @ 2024-03-29 11:52 高尔赛凡尔娟 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.acwing.com/problem/content/1113/ #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> PII; const LL MA 阅读全文
posted @ 2024-03-29 11:50 高尔赛凡尔娟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: ##手动调用绘图事件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230724170546715-469433605.png) ####widget.h ``` #ifndef WIDGET_H #define WIDG 阅读全文
posted @ 2023-07-24 17:08 高尔赛凡尔娟 阅读(38) 评论(0) 推荐(0) 编辑
摘要: ##绘图事件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230722232035567-833650556.png) ####widget.h ``` #ifndef WIDGET_H #define WIDGET_H 阅读全文
posted @ 2023-07-22 23:23 高尔赛凡尔娟 阅读(39) 评论(0) 推荐(0) 编辑
摘要: ##定时器1 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230721182054446-627085103.png) ###widget.h ``` #ifndef WIDGET_H #define WIDGET_H 阅读全文
posted @ 2023-07-21 18:35 高尔赛凡尔娟 阅读(83) 评论(0) 推荐(0) 编辑
摘要: ##自定义封装控件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230719173323703-1794954406.png) ###smallWidgt.h ``` #ifndef SMALLWIDGET_H #def 阅读全文
posted @ 2023-07-19 17:37 高尔赛凡尔娟 阅读(14) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230719105815540-202531115.png) ``` #include "widget.h" #include "ui_widget.h" #include W 阅读全文
posted @ 2023-07-19 13:28 高尔赛凡尔娟 阅读(67) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230718184231197-1231632200.png) ![](https://img2023.cnblogs.com/blog/2832235/202307/2832 阅读全文
posted @ 2023-07-18 18:13 高尔赛凡尔娟 阅读(32) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230716215136795-1521863934.png) ![](https://img2023.cnblogs.com/blog/2832235/202307/2832 阅读全文
posted @ 2023-07-16 21:53 高尔赛凡尔娟 阅读(15) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1843/problem/D ``` 题目大意: 一颗树中,每次给定两个结点,每个结点都可以移动到孩子结点,最后可以到达叶子结点, 问我们这两个结点最终移到叶子结点有多少种组合? (其实就是让求以这两个节点为根的子树的叶子结点个数的乘积) 阅读全文
posted @ 2023-07-15 10:50 高尔赛凡尔娟 阅读(16) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 30 下一页