![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 83
ccyy-
这个作者很懒,什么都没留下…
展开
-
zoj 3485 Identification Number身份证(模拟)
Mr. Wu, the inspector of the district, is really angry for a robbery happened last night. The robber escaped while Mr. Wu knows nothing about him. The only clue Mr. Wu has is a photo of the robber, wh原创 2015-04-23 18:08:10 · 697 阅读 · 0 评论 -
【codechef】Devu and his Class(巧妙的 模拟,分类讨论)
Devu is a class teacher of a class of n students. One day, in the morning prayer of the school, all the students of his class were standing in a line. You are given information of their arrangement by原创 2015-04-11 17:42:48 · 710 阅读 · 0 评论 -
zoj 3784 String of Infinity(难题,方法妙)
Given a set of banned words S, please find out whether it is possible to construct a string str1..∞ with infinite length that fulfills the following constrains:It consists of only the first M type原创 2015-04-16 20:31:31 · 854 阅读 · 0 评论 -
编程之美初赛第二场 八卦的小冰(长模拟)
小冰是个八卦的人,最近她对一个社交网站很感兴趣。由于小冰是个机器人,所以当然可以很快地弄清楚这个社交网站中用户的信息啦。她发现这个社交网站中有N个用户,用户和用户之间可以进行互动。小冰根据用户之间互动的次数和内容判断每对用户之间的亲密度。亲密度非负,若大于零表示这两个用户之间是好友关系。由于这个网站是活跃的,所以小冰会不停地更新用户之间的亲密度。由于隐私保护,小冰无法知道每个用户的确切原创 2015-05-07 13:19:56 · 815 阅读 · 0 评论 -
HDU 5214 MOVIE(灵活题)
Today, they want to choose some wonderful scenes from a movie. A movie has N scenes can be chosen, and each scene is associate with an interval [L, R]. L is the beginning time of the scene and R is原创 2015-05-07 14:56:24 · 370 阅读 · 0 评论 -
【codechef】Nikhil and Commands(字符串删减,分类)
Nikhil learnt two new commands pwd and cd on the first day of Operating Systems lab.pwd - command displays the current working directory and,cd - changes the location of working directory.原创 2015-05-02 22:07:33 · 515 阅读 · 0 评论 -
zoj 3879 Capture the Flag(长模拟)
In computer security, Capture the Flag (CTF) is a computer security competition. CTF contests are usually designed to serve as an educational exercise to give participants experience in securing a mac原创 2015-04-29 21:58:37 · 656 阅读 · 0 评论 -
【codechef】Sereja and Votes(模拟)
Sereja conducted a voting about N of his opinions. Ai percent of people voted for opinion number i.This statistics is called valid if sum of all Ai is equal to 100.Now let us define rounding up原创 2015-04-21 11:27:34 · 878 阅读 · 0 评论 -
zoj 3327 Friend Number(有难度的模拟题)
Given a positive integer x, let P(x) denotes the product of all x's digits. Two integers x and y are friend numbers if P(x) = P(y). Here comes the problem: Given a positive integer x, of course it has原创 2015-04-04 23:14:56 · 609 阅读 · 0 评论 -
【codechef】Towers(比较难想到方法的模拟题)
There are N towers in a city. All N towers are placed in a single row.Score of tower i is the the number of towers visible to its right side.Tower j will be visible to Tower i if it satisfies the原创 2015-04-15 12:32:48 · 461 阅读 · 0 评论 -
zoj 3865 Superbot (广搜)
Superbot is an interesting game which you need to control the robot on an N*M grid map.As you see, it's just a simple game: there is a control panel with four direction left (1st position), ri原创 2015-04-14 08:22:10 · 585 阅读 · 0 评论 -
hdu4192
最近写题都是呕心沥血的状态。。。。。。。。╮(╯▽╰)╭给出n个数据,和m,再给出一个含有n个变量的表达式,问是否存在一种排列方式将数据代入变量,使得表达式的结果等于m。需要考虑的是运算符号和括号的优先级。这里我存的是优先级0最大。有一些小注意点。http://www.lxway.com/648466146.htmhttp://acm.hdu.edu.cn/showprob原创 2015-11-10 22:42:05 · 503 阅读 · 0 评论