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).

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

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: 219 / 296
Version history: 1 change(s)
Referenced in: [show references]