![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 81
老年退役选手
BAT打工人
展开
-
HDOJ2117 简单模拟题
Just a NumbleTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3581 Accepted Submission(s): 1797Problem DescriptionNow give you原创 2017-08-15 20:52:32 · 369 阅读 · 0 评论 -
HDOJ3101 LA4226 The Heart of the Country 简单模拟
The Heart of the CountryTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 299 Accepted Submission(s): 99Problem DescriptionThe原创 2017-10-28 07:49:45 · 267 阅读 · 0 评论 -
Codeforces 911E 简单模拟
题意:通过栈输出1到n的一组排列,要求字典序最大。题目给出了前k个数,若无解输出-1。分析:模拟... 好像没啥好说的吧...代码如下:#include #include #include using namespace std;const int maxn = 200000+10;int n,k,cnt,mx;int a[maxn];stacks;bool原创 2018-01-02 22:03:05 · 323 阅读 · 0 评论