Timeline for Alarm Optimization
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 9, 2017 at 16:07 | history | edited | hyperneutrino♦ | CC BY-SA 3.0 | added 72 characters in body |
| Aug 9, 2017 at 16:02 | comment | added | Stephen | @Shaggy it always returns the sign of the right side of the %. 1%24 = 1, 1%-24 = -23. It's very helpful for this question. | |
| Aug 9, 2017 at 16:00 | comment | added | Shaggy | Does % always return a positive number in Python? | |
| Aug 9, 2017 at 15:52 | comment | added | Stephen | @Mr.Xcoder my input spec was very loose, you can do basically whatever you want to get the input | |
| Aug 9, 2017 at 15:39 | comment | added | Mr. Xcoder | Ok, ok... I seem to have misunderstood. | |
| Aug 9, 2017 at 15:39 | comment | added | hyperneutrino♦ | @Mr.Xcoder 24 hour time | |
| Aug 9, 2017 at 15:39 | comment | added | Shaggy | @Mr.Xcoder; I get 13 for that input using the TIO, which is correct (reset+11<9+59). | |
| Aug 9, 2017 at 15:39 | history | edited | hyperneutrino♦ | CC BY-SA 3.0 | added 21 characters in body |
| Aug 9, 2017 at 15:37 | comment | added | Mr. Xcoder | Fails for 2 01 11 00? In your answer, how do you determine if the time is AM or PM, if you don't take that as input? | |
| Aug 9, 2017 at 15:28 | history | edited | hyperneutrino♦ | CC BY-SA 3.0 | deleted 68 characters in body |
| Aug 9, 2017 at 15:28 | comment | added | hyperneutrino♦ | @StepHen Whoops. Easy fix. | |
| Aug 9, 2017 at 15:25 | history | answered | hyperneutrino♦ | CC BY-SA 3.0 |