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

13
LINES

< > BotCompany Repo | #1000378 // Switch Combine Task for combination of lessons 1 and 2

IOIOI

In: "!simplejava return 12;"
Out: 1
In: "!simplejava return 345;"
Out: 1
In: [[!simplejava return "abc";]]
Out: 2
In: [[!simplejava return "defg";]]
Out: 2
--
In: "!simplejava return 9876;"
Out: 1
In: [[!simplejava return "another string";]]
Out: 2

Author comment

Began life as a copy of #1000377

download  show line numbers   

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

No comments. add comment

Snippet ID: #1000378
Snippet name: Switch Combine Task for combination of lessons 1 and 2
Eternal ID of this version: #1000378/1
Text MD5: c072ea36694b7f4be98d7b598865e118
Author: stefan
Category:
Type: IOIOI
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-07-31 00:12:12
Source code size: 260 bytes / 13 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 633 / 2240
Referenced in: #694 - IOIOI Processor (v9)
#695 - IOIOI Processor (v10)
#704 - IOIOI Processor (v11)
#716 - IOIOI Processor (v12, "descent of choices")
#717 - IOIOI Processor (v13)
#720 - IOIOI Processor (v14, changing examples to Object)
#722 - IOIOI Processor (v15)
#738 - IOIOI Solver (v16, most recent one)
#1000375 - All IOIOI examples for SimpleJava (collection)
#1000508 - Transpilation of #722
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)