Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1018146 // cicAtOddPosition

JavaX fragment (include)

static bool cicAtOddPosition(LS l, S s) {
  int n = l(l);
  for (int i = 1; i < n; i += 2)
    if (eqic(l.get(i), s))
      true;
  false;
}

Author comment

Began life as a copy of #1002148

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018146
Snippet name: cicAtOddPosition
Eternal ID of this version: #1018146/1
Text MD5: d4a76005a1fb7fa4df26e41117eddbc0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-02 23:31:31
Source code size: 146 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 503
Referenced in: [show references]