模拟
Jianbagengmu
换了id,换了我的人生的态度.
展开
-
B. 这是数学题还是字符串题呢?
B. 这是数学题还是字符串题呢?众所周知的分数化成小数是如此的easy,那么小数化成分数呢! 已知小数分为不循环小数和循环小数,而循环小数又分为混循环小数和纯循环小数两类。 提示: 1、纯循环小数(类似0.’3’,引号内为循环的数):用9做分母,有多少个循环数就几个9,以此类推。 2、混循环小数(类似0.2’33’,引号内为循环的数):用9和0做分母,首先有一个循环节有几位数字就几个9,接着原创 2017-05-25 23:17:48 · 243 阅读 · 0 评论 -
hdu_2609_循环字符串的最小字典序
Problem Description Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me How many kinds of necklaces total have.(if two necklaces can equal by rotating ,we say th原创 2017-10-18 22:31:09 · 628 阅读 · 0 评论 -
NIT_145_UVA_7324
A+B?很简单把,没错,这题就要这么做。Input 详细见输入案例。0 ≤ A , B ≤ 231-1。Output 输出详见案例。Hint Sample Input….x.xxxxx.xxxxx.x…x.xxxxx.xxxxx.xxxxx…….xxxxx.xxxxx.xxxxx ….x…..x…..x.x…x.x…..x………x…x…x…x.x…x.x…x ….x…..x…..x.x…x原创 2017-10-02 13:34:54 · 275 阅读 · 0 评论 -
codeforce_876C_Classroom Watch
C. Classroom Watch Eighth-grader Vova is on duty today in the class. After classes, he went into the office to wash the board, and found on it the number n. He asked what is this number and the teache原创 2017-10-19 19:22:04 · 282 阅读 · 0 评论 -
codeforce_868A_水_模拟
A. Bark to Unlock time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output As technologies develop, manufacturers are making the process of unlocki原创 2017-10-06 10:52:02 · 490 阅读 · 0 评论 -
codeforce_868B_模拟水
B. Race Against TimeHave you ever tried to explain to the coordinator, why it is eight hours to the contest and not a single problem has been prepared yet? Misha had. And this time he has a really stro原创 2017-10-06 11:01:06 · 209 阅读 · 0 评论 -
L - Por Costel and the Semipalindromes Gym - 100923L
Por Costel the pig, our programmer in-training, has recently returned from the Petrozaporksk training camp. There, he learned a lot of things: how to boil a cob, how to scratch his belly using his keyb原创 2017-10-21 20:07:17 · 572 阅读 · 0 评论 -
Gym 100112C Cookie Selection ,不停插入输出中位数
As chief programmer at a cookie production plant you havemany responsibilities, one of them being that the cookies producedand packaged at the plant adhere to the very demandingquality standards of原创 2017-10-26 22:15:11 · 309 阅读 · 0 评论 -
Gym 100112D Doorman 模拟—水
The doorman Bruno at the popular night club Heaven is having a hard time fulfilling his duties. He was told by the owner that when the club is full, the number of women and men let into the club sho原创 2017-10-26 22:19:14 · 290 阅读 · 0 评论 -
2018——广东工业大学校赛题解
链接:https://www.nowcoder.com/acm/contest/90/A 来源:牛客网 A 小明在坐景驰科技研发的无人车到达了目的地。 景驰科技(JingChi.ai)是一家由人工智能技术驱动、以无人驾驶技术为核心的智能出行公司。它将打造面向中国市场的全无人驾驶。 从无人车下来以后,小明看到了一个长长的楼梯。 有一个n级台阶的楼梯,小明一次可以向上跳1步,两步,甚至是n...原创 2018-03-25 09:49:01 · 1243 阅读 · 0 评论 -
codeforce_845D_暴力模拟
Driving TestPolycarp has just attempted to pass the driving test. He ran over the straight road with the signs of four types.speed limit: this sign comes with a positive integer number — maximal s...原创 2018-04-03 01:52:53 · 368 阅读 · 0 评论 -
codeforce_845c_Two TVs
Two TVsPolycarp is a great fan of television.He wrote down all the TV programs he is interested in for today. His list contains n shows, i-th of them starts at moment li and ends at moment ri.Po...原创 2018-04-03 01:58:13 · 404 阅读 · 0 评论 -
Codeforce_828C_String Reconstruction_字符串处理
String ReconstructionIvan had string s consisting of small English letters. However, his friend Julia decided to make fun of him and hid the string s. Ivan preferred making a new string to finding the原创 2017-08-14 14:39:15 · 322 阅读 · 0 评论 -
hdu_4350_数组模拟_函数调用数组
Card Bearchild is playing a card game with himself. But first of all, he needs to shuffle the cards. His strategy is very simple: After putting all the cards into a single stack, he takes out some ca原创 2017-08-20 21:51:03 · 200 阅读 · 0 评论 -
Automatic Judge
Automatic JudgeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 0 Accepted Submission(s): 0Problem Description Welcome to HDU to take part原创 2017-05-07 15:52:31 · 363 阅读 · 0 评论 -
hdu 2073
无限的路 Time Limit: 1000msMemory Limit: 32768KB This problem will be judged on HDU. Original ID: 2073 64-bit integer IO format: %I64d Java class name: Main Prev Submit Status Statistics Next 甜甜从原创 2017-06-04 12:02:54 · 203 阅读 · 0 评论 -
cf697B B. Barnicle
B. Barnicle time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Barney is standing in a bar and starring at a pretty girl. He wants to shoot he原创 2017-07-11 22:00:59 · 453 阅读 · 0 评论 -
hdu 1035
Robot Motion Time Limit: 1000msMemory Limit: 32768KB This problem will be judged on HDU. Original ID: 1035 64-bit integer IO format: %I64d Java class name: Main Prev Submit Status Statistics N原创 2017-07-04 21:19:30 · 222 阅读 · 0 评论 -
hdu 5400
Arithmetic Sequence Time Limit: 2000msMemory Limit: 65536KB This problem will be judged on HDU. Original ID: 5400 64-bit integer IO format: %I64d Java class name: Main Prev Submit Status Statis原创 2017-07-18 09:39:26 · 199 阅读 · 0 评论 -
Codeforces Round #426 (Div. 2)B. The Festive Evening
B. The Festive Evening time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard outputIt’s the end of July – the time when a festive evening is held at Jell原创 2017-07-31 20:11:43 · 244 阅读 · 0 评论 -
poj 3253 Fence Repair greater<int>
Fence Repair PKU. : 3253 Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) planks of wood, each having some原创 2017-08-01 21:04:19 · 177 阅读 · 0 评论 -
hdu 1003
Max Sum Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 252133 Accepted Submission(s): 59775Problem DescriptionGiven a sequence a[1],a[2],a原创 2017-08-02 22:02:11 · 167 阅读 · 0 评论 -
codeforce_Diplomas and Certificates_水
A. Diplomas and CertificatesThere are n students who have taken part in an olympiad. Now it’s time to award the students.Some of them will receive diplomas, some wiil get certificates, and others won’t原创 2017-08-17 16:26:36 · 265 阅读 · 0 评论 -
poj_1611_模拟递推_刚做过类似
The SuspectsSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strat原创 2017-08-17 16:35:58 · 194 阅读 · 0 评论 -
poj_1611_直接模拟
The SuspectsSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strat原创 2017-08-17 16:45:26 · 156 阅读 · 0 评论 -
Codeforce_837B - Flag of Berland
B. Flag of Berland time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output The flag of Berland is such rectangular field n × m that satisfies follo原创 2017-08-12 12:38:15 · 389 阅读 · 0 评论 -
codeforce 469 B C -模拟 -构造
标题 ## B. Chat Online Little X and Little Z are good friends. They always chat online. But both of them have schedules.Little Z has fixed schedule. He always online at any moment o...原创 2018-08-12 14:43:31 · 450 阅读 · 0 评论