886rtxz
886rtxz
全部文章
分类
归档
标签
去牛客网
登录
/
注册
886rtxz的博客
全部文章
(共9篇)
题解 | #Freckles#
// // Created by lenovo on 2023/8/12. // #include <algorithm> #include <cmath> #include <cstdint> #include <iostream> #include...
2023-08-12
0
293
题解 | #最简真分数#
// 直接模拟 #include <algorithm> #include <iostream> #include <vector> using namespace std; bool isTrue(int x, int y){ int k = min(...
2023-08-03
0
318
题解 | #Ws Cipher#
#include <iostream> #include <vector> using namespace std; // 直接模拟 string myreverse(string s, int k) { if (k > s.length()) ...
2023-08-03
0
320
题解 | #剩下的树#
// 直接对每个点进行排序 #include <algorithm> #include <iostream> #include <utility> #include <vector> using namespace std; bool cmp(pa...
2023-08-02
0
324
题解 | #最小花费#
#include <climits> #include <iostream> #include <vector> using namespace std; int l1, l2, l3, c1, c2, c3; int way(int i){ if(i&...
2023-08-02
0
357
题解 | #最小邮票数#
#include <iostream> #include <vector> using namespace std; int main() { int m, n; cin >> m >> n; vector<int> nums...
2023-07-27
0
217
题解 | #最小邮票数#
#include <iostream> #include <vector> using namespace std; int main() { int m, n; cin >> m >> n; vector<int> nums...
2023-07-27
0
202
题解 | #红和绿#
#include <iostream> #include <vector> using namespace std; int main() { string s; cin >> s; int n = s.length(); vec...
2023-07-25
0
321
题解 | #代理服务器#
#include <iostream> #include <vector> using namespace std; // 主要思路就是从开始找到最远的那个需要切换的位置,然后将当前的网址切换成最远的那个,这样只需要在最远的时候切换即可。 int main() { in...
2023-07-24
0
303