In: "if" Out: "0" In: "\"some text\";" Out: "6" In: "\"\" bla" Out: "2" In: " \"\"" Out: "0" In: "\"more text\" + \"bla\"" Out: "11" In: "\"test\"), somethingElse"
Should return "6"
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
69 | stefan | Hints:
-Out=0 is special -Look at first character -Out refers to string length from left | 2015-06-24 20:21:40 |
Snippet ID: | #2000385 |
Snippet name: | IOIOI - Parse Java string literals (simple cases) |
Eternal ID of this version: | #2000385/1 |
Text MD5: | cd6a4c87d47572b23074b892f8bd12e6 |
Author: | stefan |
Category: | |
Type: | New Tinybrain snippet |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-06-24 20:16:31 |
Source code size: | 173 bytes / 11 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 805 / 394 |
Referenced in: | #681 - All IOIOI examples (collection) #3000189 - Answer for stefanreich(>> t bla) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |