Timeline for Helper function to solve Project Euler question 26
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2014 at 15:51 | answer | added | Gareth Rees | timeline score: 7 | |
Jan 22, 2014 at 15:20 | history | edited | Gareth Rees | CC BY-SA 3.0 |
add link to the problem and quote it briefly
|
Jan 21, 2014 at 6:06 | comment | added | ajay | gcd is defined for ints only, so yes. | |
Jan 20, 2014 at 21:33 | comment | added | cHao |
Do you really have to care that a and b are ints?
|
|
Jan 20, 2014 at 11:52 | vote | accept | ajay | ||
Jan 20, 2014 at 11:48 | history | edited | 200_success |
edited tags
|
|
Jan 20, 2014 at 11:41 | answer | added | SylvainD | timeline score: 4 | |
Jan 20, 2014 at 9:31 | comment | added | ajay | How can I simplify it to just solve the problem 26? | |
Jan 20, 2014 at 9:18 | comment | added | SylvainD | Probably not worth an actual answer but gcd and decimal should probably raise ValueError if type is wrong or q is 0. Also, you are computing much more than what you realy need for the problem 26. Actual solution should be much simpler. | |
Jan 20, 2014 at 6:41 | history | edited | Jamal |
edited tags
|
|
Jan 20, 2014 at 6:35 | history | asked | ajay | CC BY-SA 3.0 |