摘要: 要注意sum+a[i]的位置,我放错了,不知道为什么会re #include<iostream> #include<cstring> #define int long long using namespace std; int n,m,ans,a[30],vis[2020]; int f[2020] 阅读全文
posted @ 2025-02-16 16:54 郭轩均 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 这道题对取最大值的地方有要求,要先取最大值再入队 阅读全文
posted @ 2025-02-16 13:20 郭轩均 阅读(1) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示