Timeline for Refactoring Pset1 Greedy Modulo
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 14, 2017 at 10:16 | vote | accept | ExpertShaun | ||
Dec 14, 2017 at 10:15 | vote | accept | ExpertShaun | ||
Dec 14, 2017 at 10:16 | |||||
Dec 13, 2017 at 23:57 | comment | added | Cliff B |
Two side questions. What is the purpose of amount = amount & 1; at the end? The & operator is a bit shift operator. I can't figure out what you were doing here, or is it a typo? Fortunately, it has no effect on the program since amount isn't used after this. Second, what happens when you divide any number by 1? ;-)
|
|
S Dec 13, 2017 at 23:37 | history | edited | Cliff B |
edited tags
|
|
Dec 13, 2017 at 17:32 | review | Suggested edits | |||
S Dec 13, 2017 at 23:37 | |||||
Dec 13, 2017 at 16:29 | answer | added | WhipStreak23 | timeline score: 0 | |
Dec 12, 2017 at 21:56 | answer | added | curiouskiwi♦ | timeline score: 1 | |
Dec 12, 2017 at 19:34 | review | First posts | |||
Jan 11, 2018 at 19:30 | |||||
Dec 12, 2017 at 19:29 | history | asked | ExpertShaun | CC BY-SA 3.0 |