xingliu
xingliu
全部文章
题解
归档
标签
去牛客网
登录
/
注册
xingliu的博客
全部文章
/ 题解
(共3篇)
题解 | #1.zxy的钱钱#
2024西北师范大学天梯赛选拔赛 题解 author : 星幻流空 A题:思路: 按照题意直接输出即可。 void solve() { int n; cin >> n; if (n < 400) cout << "这活干不了一点了!"; ...
C++
2024-03-16
3
271
题解 | #Fancy Signal Translate#
二分答案 (遍历 map 做 check 函数) #include <bits/stdc++.h> using namespace std; bool check(int mid, string s) { map <string, int> ma; ...
2023-12-07
0
262
K-太空电梯 题解
典型 dijkstra 细节在于电梯的移动过程 #include <bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N = 1e5 + 10; int n, k, tim[...
C++
2023-10-27
0
271