摘要: 牛客周赛 Round 35 小红的字符串切割 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; typedef double db; #define fi 阅读全文
posted @ 2024-03-03 21:58 value0 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 牛客周赛 Round 35 小红的字符串切割 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; typedef double db; #define fi 阅读全文
posted @ 2024-03-03 18:06 value0 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 第 387 场周赛 将元素分配到两个数组中 I 解题思路: 暴力比较放置。 代码: class Solution { public: vector<int> resultArray(vector<int>& nums) { vector<int> a, b; int n = nums.size(); 阅读全文
posted @ 2024-03-03 15:28 value0 阅读(1) 评论(0) 推荐(0) 编辑