摘要: A. Morning Sandwich #include <cstdio> #include <algorithm> #include <cmath> #include <vector> #include <string.h> #include <set> #include <string> #in 阅读全文
posted @ 2023-07-28 20:13 Oliverfg 阅读(24) 评论(0) 推荐(0)
摘要: A. Escalator Conversations #include<cstdio> #include<algorithm> #include<cmath> #include<vector> #include<string.h> #include<set> #include<string> #in 阅读全文
posted @ 2023-07-27 20:59 Oliverfg 阅读(24) 评论(0) 推荐(0)
摘要: A. Desorting 如果有 $a_1 \leq a_2 \leq \ldots \leq a_{n-1} \leq a_n$,则称长度为 $n$ 的数组 $a$ 已排序。 Ntarsis 有一个长度为 $n$的数组 $a$。 他可以对数组进行一种操作(0 次或多次): - 选择一个索引 $i$ 阅读全文
posted @ 2023-07-24 20:16 Oliverfg 阅读(79) 评论(0) 推荐(0)
摘要: A - To My Critics 代码: #include<cstdio> #include<algorithm> #include<cmath> #include<vector> #include<string.h> #include<set> #include<string> #include 阅读全文
posted @ 2023-07-23 16:20 Oliverfg 阅读(39) 评论(0) 推荐(0)