![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 82
Edwardzcn
这个作者很懒,什么都没留下…
展开
-
2018.1.21【CodeForces - 825B】解题报告(模拟,五子棋)
B. Five-In-a-Rowtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice and Bob play 5-in-a-row game. They ha原创 2018-01-22 17:49:51 · 272 阅读 · 0 评论 -
2018.2.1【 UVA-11995 】解题报告(STL,数据结构,模拟)
I Can Guess the Data Structure!There is a bag-like data structure, supporting two operations:1 xThrow an element x into the bag.2Take out an element from the bag.Given a sequen原创 2018-02-01 11:07:07 · 196 阅读 · 0 评论 -
2018.2.4【 CodeForces - 831A 】解题报告(模拟)
A. Unimodal Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputArray of integers is unimodal, if:it原创 2018-02-04 18:03:44 · 295 阅读 · 0 评论 -
2018.2.28【 UVa - 227 】解题报告(紫书练习题,模拟,输出格式)
【题目链接】UVa:点击打开链接 VJ:点击打开链接【题目大意】给你一个5*5的棋盘,被24个字母和1个空格填满。A、B、L、R分别表示空格向上向下向左向右移动的命令,给出初始棋盘,给出一段命令,求出最终棋盘的样子。【解题思路】注意空格在边界的情况,模拟棋盘移动,每一次命令交换空格与上下左右之一空格中的字母,有任一一条不合理的命令,便可以判断走法有问题。【解题代码】#include <c...原创 2018-02-28 01:30:32 · 300 阅读 · 0 评论