Difference between revisions of "2019 Multi-University,Nowcoder Day 10"
Jump to navigation
Jump to search
Xiejiadong (talk | contribs) (Created page with "== Problem A == Upsolved by Kilo_5723. (-1) == Problem B == Solved by Xiejiadong. 00:22:29 (+1) == Problem C == Unsolved. == Problem D == Solved by Weaver_zhu. 00:57:31...") |
Xiejiadong (talk | contribs) |
||
Line 6: | Line 6: | ||
Solved by Xiejiadong. 00:22:29 (+1) | Solved by Xiejiadong. 00:22:29 (+1) | ||
+ | |||
+ | 题意:给出一个斐波那契字符串,求某一位开始的十个字符分别是什么。 | ||
+ | |||
+ | 题解:只需要输出十个字符串,直接暴力。 | ||
+ | |||
+ | 考虑从最后往前做,需要判断来自前半段还是后半段,递归下去。 | ||
+ | |||
+ | 可以发现当 $n=60$ 的时候,长度就远大于题面了,所以超过 $60$ 的,一定属于前半段。 | ||
+ | |||
+ | 这样一直递归到初始条件输出即可。 | ||
== Problem C == | == Problem C == |
Revision as of 10:47, 19 August 2019
Problem A
Upsolved by Kilo_5723. (-1)
Problem B
Solved by Xiejiadong. 00:22:29 (+1)
题意:给出一个斐波那契字符串,求某一位开始的十个字符分别是什么。
题解:只需要输出十个字符串,直接暴力。
考虑从最后往前做,需要判断来自前半段还是后半段,递归下去。
可以发现当 $n=60$ 的时候,长度就远大于题面了,所以超过 $60$ 的,一定属于前半段。
这样一直递归到初始条件输出即可。
Problem C
Unsolved.
Problem D
Solved by Weaver_zhu. 00:57:31 (+1)
Problem E
Solved by Kilo_5723. 00:25:09 (+1)
Problem F
Solved by Kilo_5723. 01:21:05 (+)
Problem G
Unsolved.
Problem H
Solved by Xiejiadong. 00:52:41 (+1)
Problem I
Unsolved.
Problem J
Unsolved. (-11)