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

13
LINES

< > BotCompany Repo | #1006572 // Riddle 1 [solved]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1229L/9K/27K).

1  
!7
2  
3  
p {
4  
  assertEquals_match("heap", continue("the plural of sheep is sheep
5  
the plural of fish is fish
6  
the plural of heap is..."));
7  
  print("ok");
8  
}
9  
10  
sS continue(S s) {
11  
  ret nextToLastWord(s);
12  
  // ret "huh?";
13  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006572
Snippet name: Riddle 1 [solved]
Eternal ID of this version: #1006572/1
Text MD5: 299b47c6af4ec49b04eea9c88c2e9526
Transpilation MD5: 6635bc9e8af9b6a6c30ba1f0d8f23050
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-18 03:30:04
Source code size: 224 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 444 / 525
Referenced in: [show references]