Timeline for Delete the first periodic digit
Current License: CC BY-SA 3.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 18, 2017 at 0:32 | comment | added | JungHwan Min |
@kasperd The zero (ones place) in 0.(90) isn't significant, so including it in the repeating sequence wouldn't really make sense.
|
|
Dec 17, 2017 at 21:57 | comment | added | kasperd |
@JungHwanMin There is an infinite number of rational numbers between 0 and 1 for which the question would also apply. I think the simplest example would be 10/11 .
|
|
Dec 17, 2017 at 20:46 | answer | added | Brad Gilbert b2gills | timeline score: 1 | |
Dec 17, 2017 at 18:39 | comment | added | JungHwan Min |
@MishaLavrov alternatively, you could specify that all inputs will be between 0 and 1. (It should only affect the 2017/1 case)
|
|
Dec 17, 2017 at 15:18 | history | edited | Misha Lavrov | CC BY-SA 3.0 |
added 310 characters in body
|
Dec 17, 2017 at 15:14 | comment | added | Misha Lavrov |
@kasperd Huh, that's a case I hadn't thought of... I'd want to say 111/11 except that the most highly upvoted answer at the moment returns 210/11 , so I will let you pick to avoid invalidating existing answers.
|
|
Dec 17, 2017 at 15:11 | comment | added | Misha Lavrov | @user202729 You may assume that the input is a fully simplified rational number. | |
Dec 17, 2017 at 13:04 | comment | added | kasperd |
If input is 120/11 is the correct answer 111/11 or 210/11 ?
|
|
Dec 17, 2017 at 10:17 | answer | added | user202729 | timeline score: 1 | |
Dec 17, 2017 at 8:04 | answer | added | user202729 | timeline score: 5 | |
Dec 17, 2017 at 7:34 | answer | added | Leaky Nun | timeline score: 4 | |
Dec 17, 2017 at 7:25 | comment | added | user202729 |
May the input be reducible (not fully simplified)? For example, can 2/4 happen in the input?
|
|
Dec 17, 2017 at 5:48 | history | tweeted | twitter.com/StackCodeGolf/status/942270228242882560 | ||
Dec 17, 2017 at 5:20 | answer | added | Esolanging Fruit | timeline score: 4 | |
Dec 17, 2017 at 1:23 | answer | added | JungHwan Min | timeline score: 12 | |
Dec 17, 2017 at 1:20 | history | edited | Misha Lavrov | CC BY-SA 3.0 |
added 86 characters in body
|
Dec 17, 2017 at 1:19 | comment | added | Misha Lavrov |
Yes, if you're doing the rational number thing. (If you're doing the pair-of-integers thing, then I'm not sure what else you'd return except the pair (2017,1) .)
|
|
Dec 17, 2017 at 1:13 | comment | added | JungHwan Min |
Can we return 2017 instead of 2017/1 ?
|
|
Dec 17, 2017 at 0:24 | history | asked | Misha Lavrov | CC BY-SA 3.0 |