Skip to main content

Timeline for Parse a Baseball Pitch String

Current License: CC BY-SA 4.0

29 events
when toggle format what by license comment
Apr 23, 2020 at 1:51 answer added aschepler timeline score: 0
Apr 22, 2020 at 20:57 answer added user81995 timeline score: 1
Apr 22, 2020 at 8:30 answer added Grimmy timeline score: 4
Apr 20, 2020 at 14:41 answer added Steve Bennett timeline score: 0
Apr 20, 2020 at 13:13 comment added Steve Bennett What does this mean: "You must not asumme that: ... your program must return on the last pitch/character" ? I can't find any sensible interpretation for this sentence?
Apr 20, 2020 at 9:26 answer added Kevin Cruijssen timeline score: 2
Apr 20, 2020 at 9:09 comment added Kevin Cruijssen May we take the input as lowercase instead of uppercase characters?
Apr 19, 2020 at 22:45 answer added Neil timeline score: 0
Apr 19, 2020 at 19:22 comment added math junkie @dan9er I've added a couple of test cases and attempted to clarify the behaviour of "Ball in play" according to my understanding. Let me know if I misunderstood anything and I can change it back
Apr 19, 2020 at 19:20 history edited math junkie CC BY-SA 4.0
added 82 characters in body
Apr 19, 2020 at 11:43 answer added KaleSurfer timeline score: 1
Apr 19, 2020 at 6:00 history tweeted twitter.com/StackCodeGolf/status/1251752405726892032
Apr 19, 2020 at 1:43 comment added Wheat Wizard It seems everything about the ball in play is missing. I don't know baseball terminology so I have no idea what sort of state this even indicates. Could you explain this for people who don't know baseball terminology?
Apr 18, 2020 at 19:04 answer added Mitchell Spector timeline score: 1
Apr 18, 2020 at 10:24 answer added Neil timeline score: 10
Apr 18, 2020 at 4:42 history became hot network question
Apr 18, 2020 at 3:08 answer added user92069 timeline score: 2
Apr 18, 2020 at 0:53 answer added math junkie timeline score: 5
Apr 18, 2020 at 0:47 answer added math junkie timeline score: 2
Apr 18, 2020 at 0:20 comment added Jonah Can we use an input translation like S = 1, B = 2, ... and then take a list of ints as input?
Apr 17, 2020 at 23:10 comment added Arnauld Is it OK to return different values for the same outcome, as long as it's different from the values for the other outcomes? (see my 64-byte version)
Apr 17, 2020 at 22:37 answer added Arnauld timeline score: 7
Apr 17, 2020 at 21:35 answer added Noodle9 timeline score: 3
Apr 17, 2020 at 21:14 comment added Giuseppe oh, duh, I meant this one is closely related.
Apr 17, 2020 at 21:13 comment added dan9er @Giuseppe uh... that's this question...
Apr 17, 2020 at 21:10 answer added Giuseppe timeline score: 4
Apr 17, 2020 at 20:52 comment added dan9er @Noodle9 "You may not assume that there are no extra pitches/characters after the plate appearance is supposed to legally end." This is a dirty input case. Your program should return after parsing the X, effectively ignoring the rest of the characters.
Apr 17, 2020 at 20:48 comment added Noodle9 How does XBSBSBSB work? The ball's in play, and then there's a strikeout, and then a fourth ball and it ends up in play?
Apr 17, 2020 at 20:39 history asked dan9er CC BY-SA 4.0