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

5
LINES

< > BotCompany Repo | #1026619 // ai_isZShapeSextet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2196L/14K).

sbool ai_isZShapeSextet(Pair<T3S> p) {
  ret p != null && (
    empty(p.a.a) && empty(p.b.c) && nempty(p.b.a) && nempty(p.a.c) ||
    empty(p.a.c) && empty(p.b.a) && nempty(p.b.c) && nempty(p.a.a));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026619
Snippet name: ai_isZShapeSextet
Eternal ID of this version: #1026619/2
Text MD5: 76db3ae0a71f949feea01119908c7316
Transpilation MD5: de52598834ea416143c54a0d4aa6179c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 19:05:01
Source code size: 204 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 195
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026620 - ai_isSameMiddleSextetIC
#1026622 - ai_joinZShapeSextet