![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
巧克力Fyy
路漫漫其修远兮,吾将上下而求索。
展开
-
POJ NOI MATH-7829 神奇序列求和
原题链接 7829:神奇序列求和 总时间限制:1000ms 内存限制:65536kB 描述 有一个序列,初始时只有两个数x和y,之后每次操作时,在原序列的任意两个相邻数之间插入这两个数的和,得到新序列。举例说明: 初始:1 2 操作1次:1 3 2 操作2次:1 4 3 5 2 …… 问操作n次之后,得到的序列的所有数之和是多少? 输入 三个整数x,y,n,相邻两个数之...原创 2019-11-19 12:02:53 · 515 阅读 · 0 评论 -
HDU1276 士兵队列训练问题【队列、模拟】
原题链接:士兵队列训练问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12175 Accepted Submission(s): 5365 Problem Description 某部队进行新兵...原创 2018-08-07 19:24:12 · 553 阅读 · 0 评论 -
ZOJ - 4049 Halting Problem 题解【c++】
题目如下: In computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program, whether the program will finish running (i.e., halt) or continue...原创 2019-08-15 18:08:06 · 306 阅读 · 0 评论