我推阿散,!好帅!霸道!骂人好霸气!好爱好爱,快穿越出来骂我,
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
### [题目传送门](https://www.luogu.com.cn/problem/P13437) ## 题目大意: 题目理解与分析 1. 题目背景 外星人信息:外星人留下了一串符号(如 ab2ac999),每个符号代表一个数字(但具体对应关系未知)。 进制不确定:外星人使用的进制(基数)未知,但…
### [题目传送门](https://www.luogu.com.cn/problem/P13437) ## 先上代码 ```cpp #include //禁止复制,你我同行,共创美好洛谷 using namespace std; #define libaitian return #define fangshaoji…
在讨论《洛谷入门赛 #36 赛时答疑》回复:
$qp$
```cpp #include #define ll long long using namespace std; string sx; ll k,a[20],x,sum=0; int main(){ cin>>sx>>k; int len=sx.length(); for(int i=0;i =x){ return…
在讨论《洛谷入门赛 #36 赛时答疑》回复:
所以这是答疑帖,不是“qp贴”?[抽嘴角]
在讨论《0分求调QAQ》回复:
我甚至叫Deepseek用贪心做,但是没用QAQ
当时灵机一动打算用贪心做,做出来就成屎了QAQ ```cpp #include using namespace std; int n,pr[1005],cnt[1005],a[100005],b[100005],c[100005],m; int main(){ cin>>n; for(int i=0;i >pr[i],…
```cpp #include #include #include using namespace std; int main() { int n; string x, y; cin >> n >> x >> y; int res = 0; int carry = 0; for (int i = n - 1; i >=…
```cpp #include #include #include using namespace std; int main() { int n; string x, y; cin >> n >> x >> y; // 读取输入 int res = 0; // 记录总操作次数 int carry = 0; // 记录…
### 问题分析 我们需要计算在给定的实习日程中,对于每个可能的调休天数 k,小明最多能获得多少个充实休假日(即连续两天或以上的休息日)。关键在于如何高效地处理多个查询,并找到最优的调休策略。 ### 解题思路 预处理原始休息日段:首先,我们需要找到原始日程中所有的连续休息日段(即连续的 '1'),并记录它们的…
```cpp #include #include using namespace std; int minSwaps(vector & books) { int n = books.size(); vector visited(n, false); int swaps = 0; for (int i = 0; i 0)…
```cpp #include #include using namespace std; int minSwaps(vector & books) { int n = books.size(); vector visited(n, false); int swaps = 0; for (int i = 0; i 0)…
```cpp #include #include using namespace std; int minSwaps(vector & books) { int n = books.size(); vector visited(n, false); int swaps = 0; for (int i = 0; i 0)…
## 最近刚好学了贪心,那就切一下吧 ```cpp #include using namespace std; int main() { // 读取城市数量 n itn n; cin >> n; // 定义两个数组 a 和 b,分别存储火车和公交的耗时 vector a(n), b(n); // 读取火车耗时 a[0.…
在文章《洛谷编辑器帮助手册》发表评论:
qp
在讨论《洛谷举报专区》回复:
@[wst000](luogu://user/1288198) 实践了,好用
在讨论《洛谷举报专区》回复:
@TFTM 多次辱骂我和我的同桌
在讨论《为什么全红啊》回复:
```cpp #include using namespace std; int n; int main () { cin >> n; if(n == 1) cout << " 1\n"; if(n == 2) cout <<" 1 2\n"; cout <<" 4 3\n"; if(n == 3) { cout <<…
在讨论《为什么全红啊》回复:
```cpp #include using namespace std; int n; int main () { cin >> n; if(n == 1) cout << " 1\n"; if(n == 2) cout <<" 1 2\n cout <<" 4 3\n"; if(n == 3) { cout << "…
在讨论《为啥全红?》回复:
```cpp #include using namespace std; int n; int main () { cin >> n; if(n == 1) cout -<
在讨论《240的心酸》回复:
[强撑笑容](QAQ)
在讨论《240的心酸》回复:
@[Lionel_Messi_10](/user/1376362) 浙江260左右 慢慢体会
在讨论《GD220估计多少等》回复:
强省2=,弱省1=
在讨论《关于240的心酸!》回复:
@[LTY1145](/user/1461481) 这是要看地区的。
在讨论《关于240的心酸!》回复:
@[chensiyu2011](/user/1295820) 浙江大概260
在讨论《在新疆拿一等太简单》回复:
@[hanser_bronya](/user/974115) 240没拿一等(Q^Q)
在讨论《感觉过不了(Q^Q)》回复:
@[wsy_I](/user/1152799) 相信你过得了