def move_array(a, n, m):
m = m % n
reverse(a, 0, n-1)
reverse(a, 0, m-1)
reverse(a, m, n-1)
def reverse(a, start, end):
i, j = start, end ...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《#Python数组位移》 | 430字 | 5.0分钟 | 100% | 71 CPM | 76 次 | 1 | 不及格,加强练习! |
The wrong word this time: ] | |||||||
Suggestion:
可能对按键不够熟悉,或者对输入法不够熟练所导致,不要急慢慢来,先打对把准确率提高,然后逐渐的加快速度,最后才能打准打快。
|
|||||||
Inspirational quotes: 爱国如饥渴。 ——范晔 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |