Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2019-08-19 09:37:19
阅读次数:
70
Bi Luo is a magic boy, he also has a migic tree, the tree has NN nodes , in each node , there is a treasure, it's value is V[i]V[i], and for each edge ...
分类:
其他好文 时间:
2019-08-18 14:00:56
阅读次数:
73
Good Luck in CET-4 Everybody! HDU - 1847 题意:n 张牌( 1 <= n <= 1000),两个人轮流取牌,只能取2的幂次张牌 (即:1,2,4,8,16...),最后抓完牌的人获胜 题解:一堆,s数组取值为 2 ^ i (0 <= i <= 11) #inc ...
分类:
其他好文 时间:
2019-08-18 13:40:51
阅读次数:
90
VERB 怨恨;憎恶;愤恨If you resent someone or something, you feel bitter and angry about them. She resents her mother for being so tough on her... 她怨恨母亲对她太严厉。 ...
分类:
Web程序 时间:
2019-08-18 13:26:12
阅读次数:
105
the fact of something continuing for a long period of timewithout being changed or stopped 连续性,持续性,连贯性 There has been no continuity in that class - th ...
分类:
其他好文 时间:
2019-08-18 11:26:01
阅读次数:
77
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decre ...
分类:
其他好文 时间:
2019-08-17 18:00:35
阅读次数:
1440
K - Count the string HDU - 3336 题目链接:https://vjudge.net/contest/70325#problem/K 题目: It is well known that AekdyCoin is good at string problems as well ...
分类:
其他好文 时间:
2019-08-17 00:53:20
阅读次数:
79
Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a numbe ...
分类:
其他好文 时间:
2019-08-15 06:06:29
阅读次数:
82
1. 新建两个object:User和School user.py school.py 2. 给对象创建factory 3.编写自定义Provider(如果没有Provider需求,可以跳过这个步骤) 4.使用 结果: ...
分类:
其他好文 时间:
2019-08-14 17:01:13
阅读次数:
108
HDU2176题意: m堆石子,两人轮流取.只能在1堆中取.取完者胜.先取者负输出No.先取者胜输出Yes,然后输出怎样取子. 通过 SG定理 我们可以知道每一个数的SG值,等于这个数到达不了的前面数中的最小值。本题题意和尼姆博弈一样,即可以在一堆中任意个石子,所以也就是说每个数都可以到达前面经过的 ...
分类:
编程语言 时间:
2019-08-13 11:49:32
阅读次数:
134