模拟
文章平均质量分 84
闻道-问道
这个作者很懒,什么都没留下…
展开
-
洗牌,发牌
Problem DescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips,S1 and S2, each stac原创 2017-08-02 21:31:19 · 256 阅读 · 0 评论 -
LightOJ - 1369 (推公式)
The problem you need to solve here is pretty simple. You are give a function f(A, n), where A is an array of integers and nis the number of elements in the array. f(A, n) is defined as follows:long ...原创 2019-01-18 20:06:21 · 245 阅读 · 0 评论 -
What a Ridiculous Election(预处理bfs)
In country Light Tower, a presidential election is going on. There are two candidates, Mr. X1 andMr. X2, and both of them are not like good persons. One is called a liar and the other is called aman...原创 2018-10-04 17:07:12 · 406 阅读 · 0 评论 -
Mysterious Antiques in Sackler Museum (模拟)
Sackler Museum of Art and Archaeology at Peking University is located on a beautiful site near theWest Gate of Peking University campus, and its architecture takes the inspiration from buildings that...原创 2018-10-01 10:47:18 · 293 阅读 · 0 评论 -
Flights (解方程)
Army is busy: military exercises had started yesterday. All types of forces are doing, hopefully, a goodjob. For example, artillery is launching missiles, while aviation is delivering supplies to infa...原创 2018-06-20 20:57:17 · 326 阅读 · 0 评论 -
FZU - 2283 (暴力判断)
Kim likes to play Tic-Tac-Toe.Given a current state, and now Kim is going to take his next move. Please tell Kim if he can win the game in next 2 moves if both player are clever enough.Here “next 2 mo...原创 2018-04-27 19:57:38 · 508 阅读 · 0 评论 -
#1197 : Give My Text Back
时间限制:10000ms单点时限:1000ms内存限制:256MB描述To prepare for the English exam Little Ho collected many digital reading materials. Unfortunately the materials are messed up by a malware.It is known that the origi...原创 2018-03-19 23:27:50 · 1210 阅读 · 0 评论 -
#1135 : Magic Box
描述The circus clown Sunny has a magic box. When the circus is performing, Sunny puts some balls into the box one by one. The balls are in three colors: red(R), yellow(Y) and blue(B). Let Cr, Cy, Cb den...原创 2018-03-15 23:40:25 · 240 阅读 · 0 评论 -
找数字个数
链接:https://www.nowcoder.com/acm/contest/67/I来源:牛客网题目描述 lulu喜欢小于等于1000的正整数,但是如果某个数是a或b的倍数,lulu会讨厌这个数。如果某个数里包含了a和b两个数里包含的数,lulu也会讨厌。(例如a=14,b=23,如果数字中包含1、2、3、4这四个数中的任意一个数,lulu就会讨厌这个数)。现原创 2018-01-21 20:36:04 · 532 阅读 · 0 评论 -
CodeForces - 814B
Sengoku still remembers the mysterious "colourful meteoroids" she discovered with Lala-chan when they were little. In particular, one of the nights impressed her deeply, giving her the illusion that a原创 2017-08-03 21:49:55 · 346 阅读 · 0 评论 -
Little Sub and Mr.Potato's Math Problem (找规律)
Little Sub loves math very much. He enjoys counting numbers.One day, Mr.Potato gives him an interesting math problem. Please help Little Sub solve this problem.Let's sort the integers according t...原创 2019-01-19 20:32:18 · 836 阅读 · 3 评论