Libraryless. Click here for Pure Java version (5028L/33K/112K).
!752 concepts. !include #1005347 // Classes for Smart Console p { loadConceptsFrom("#1005320"); new MultiMap<S, S> questionsToAnswers; new TreeSet<S> questions; for (UserLine ul) { S s = ul.text; questions.add(ul.text); for (UserAnswer ua : findBackRefs(ul, UserAnswer)) questionsToAnswers.put(ul.text, ua.text); } for (S q : questions) { if (swic(q, "get parts ")) { O worker = hotwireOnce("#1005364"); S answer = callAnswerMethod(worker, q); print(q + " => " + answer); if (contains(questionsToAnswers.get(q), answer)) print(" Success!"); else print(" Hm."); } } }
Began life as a copy of #1005349
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005365 |
Snippet name: | Solve some questions from Smart Console ["get parts"] |
Eternal ID of this version: | #1005365/1 |
Text MD5: | 804786dd0ac9c2817f2b777537e35a6a |
Transpilation MD5: | 73417619b78aa68c54827dda001ef5b6 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-09 17:09:40 |
Source code size: | 692 bytes / 30 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 523 / 598 |
Referenced in: | -