![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 81
madaidao
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 109 (Rated for Div. 2) C. Robot Collisions(思维分析题)
题目链接:https://codeforces.com/contest/1525/problem/C题目大意:在轴上有个球,在坐标点0和坐标点处有一个挡板,每个球初始的时候位于整数坐标,以及初始移动方向,向左或者向右,当球碰到挡板时会立马改变运动方向。每个1秒球移动1的距离,当两个球在同一个整数坐标点相遇时,两个球都会销毁。输出每个球的销毁时间,若球不会消失输出-1。题解:先分类讨论,各种情况下的相撞条件:1,两个球相向而行,这时若两个球的距离为偶数,则两个球会相撞。奇数,则一定不会相撞。原创 2021-05-19 18:45:28 · 139 阅读 · 0 评论 -
zoj 3826 Hierarchical Notation(模拟)
题目链接原创 2014-10-15 21:03:56 · 325 阅读 · 0 评论 -
poj 2996 Help Me with the Game(模拟)
题目链接Help Me with the GameTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3551 Accepted: 2279DescriptionYour task is to read a picture of a chessboar原创 2015-01-14 17:04:51 · 404 阅读 · 0 评论 -
poj 2993 Emag eht htiw Em Pleh(模拟)
题目链接Emag eht htiw Em PlehTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2842 Accepted: 1887DescriptionThis problem is a reverse case of the probl原创 2015-01-14 17:08:55 · 465 阅读 · 0 评论 -
CodeForces 151B Phone Numbers(简单模拟)
题目链接B. Phone Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWinters are just damn freezing cold in Nvo原创 2015-05-16 22:13:51 · 579 阅读 · 0 评论