模拟
文章平均质量分 72
简单的模拟算法
思维在奔跑
这个作者很懒,什么都没留下…
展开
-
1011 World Cup Betting (20分)
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Similarly, football betting fans were putting their money原创 2021-01-23 17:21:12 · 117 阅读 · 0 评论 -
1008 Elevator (20分)
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 seconds to move the elevator up one floor, and 4 seconds to原创 2021-01-23 16:53:56 · 102 阅读 · 0 评论 -
[传智杯]游园会盖章(模拟)
题目描述 传智专修学院举办了一场游园活动,其中一个非常重要的环节就是收集印章。集章卡是一张高度宽度分别为 h,w(20<=h<=1000,50<=w<= 2000)的白纸。初始情况下每个单位像素都是由 . 来填充(代表白色)。 现在小 A 在一个摊位上盖章。由于小 A 很喜欢这个摊位印章的样式,所以他会连续盖上 n(1<=n<=2000) 次印。这个印章是宽 50、高 20 的图形,是这样: ...........................,]]OOO@@@@OOO原创 2020-08-24 10:39:37 · 1178 阅读 · 0 评论