1 | static bool cicAtOddPosition(LS l, S s) { |
2 | int n = l(l); |
3 | for (int i = 1; i < n; i += 2) |
4 | if (eqic(l.get(i), s)) |
5 | true; |
6 | false; |
7 | } |
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: | 456 / 505 |
Referenced in: | [show references] |