daweii
V2EX  ›  问与答

“把每个元素向右移动一位”里的“一位”用英语怎么说?

  •  1
     
  •   daweii · Dec 10, 2018 · 4621 views
    This topic created in 2887 days ago, the information mentioned may be changed or developed.

    Shift all the element toward right for 1 ..bit? 貌似英语里面没有量词。

    24 replies  •  2018-12-11 09:49:34 +08:00
    niubee1
    niubee1
    Dec 10, 2018
    1
    one pixel
    sonaxyjh
    sonaxyjh
    Dec 10, 2018
    2
    1 unit
    donething
    donething
    Dec 10, 2018 via Android
    3
    Move each element to the right by one bit,Google 翻译
    xml123
    xml123
    Dec 10, 2018
    4
    bit?digit?position?你至少给个背景吧,什么元素啊?
    MeteorCat
    MeteorCat
    Dec 10, 2018 via Android
    5
    px = pixel
    Kagari
    Kagari
    Dec 10, 2018
    6
    1 time
    supertiny
    supertiny
    Dec 10, 2018❤️4
    7
    one gentleman
    terence4444
    terence4444
    Dec 10, 2018 via iPhone
    8
    Right shift every element once
    ETiV
    ETiV
    Dec 10, 2018 via iPhone
    9
    数组下标? offset

    介词应该用 by

    all the element “ s ”
    daweii
    daweii
    OP
    Dec 10, 2018 via iPhone
    10
    @MeteorCat
    @ETiV

    不好意思忘了说明是数组了
    ETiV
    ETiV
    Dec 10, 2018 via iPhone❤️1
    11
    Google translate

    Shift all the elements right by one offset.

    将所有元素右移一个偏移量。
    daweii
    daweii
    OP
    Dec 10, 2018 via iPhone
    12
    来自问自答了。
    搜了一下谷歌发现直接不用量词...

    https://stackoverflow.com/questions/7970857/java-shifting-elements-in-an-array

    I have an array of objects in Java, and I am trying to pull one element to the top and shift the rest down by one.
    MeteorCat
    MeteorCat
    Dec 10, 2018 via Android
    13
    @daweii 你这样让我很尴尬
    yingfengi
    yingfengi
    Dec 10, 2018 via Android
    14
    1px ?
    macfred
    macfred
    Dec 10, 2018 via Android
    15
    slot
    msg7086
    msg7086
    Dec 10, 2018
    16
    不需要量词,因为没有量。Shift by one 就行了。
    Perry
    Perry
    Dec 10, 2018 via iPhone
    17
    如何是 array 用 index ?
    sfqtsh
    sfqtsh
    Dec 10, 2018 via Android
    18
    shift right by 1 for every element.
    banlo
    banlo
    Dec 10, 2018
    19
    (因为省略了量词
    ywcjxf1515
    ywcjxf1515
    Dec 11, 2018 via iPad
    20
    next position...
    ljpCN
    ljpCN
    Dec 11, 2018 via Android
    21
    cell?
    dangyuluo
    dangyuluo
    Dec 11, 2018
    22
    @msg7086
    #16 正解。比如 I just bought a car. 这里面就没有量词。
    不能以汉语的思维来思考英语。
    arYUWang
    arYUWang
    Dec 11, 2018
    23
    #8, #16, #18 的答案都可以
    roronoaws
    roronoaws
    Dec 11, 2018 via Android
    24
    one position ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2731 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 13:17 · PVG 21:17 · LAX 05:17 · JFK 08:17
    ♥ Do have faith in what you're doing.