Timeline for Project Euler Problem 1 with Python 3 ideal solution
Current License: CC BY-SA 4.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2020 at 13:24 | history | edited | Community Bot |
Commonmark migration
|
|
Aug 15, 2018 at 14:05 | answer | added | Toby Speight | timeline score: 2 | |
Aug 14, 2018 at 17:13 | comment | added | Mast♦ | I've removed the code that doesn't work. | |
Aug 14, 2018 at 17:07 | history | edited | Mast ♦ | CC BY-SA 4.0 |
deleted 132 characters in body
|
Aug 14, 2018 at 16:47 | history | reopened |
hoffmale Graipher Peilonrayz ♦ Sᴀᴍ Onᴇᴌᴀ ♦ Ludisposed |
||
Aug 14, 2018 at 16:28 | comment | added | remedcu | The second code gives a runtime error, the first one gives a timeout error @Mast | |
Aug 14, 2018 at 16:21 | comment | added | Mast♦ | If it still gives a runtime error, it's not ready for review. | |
Aug 14, 2018 at 16:20 | review | Reopen votes | |||
Aug 14, 2018 at 16:48 | |||||
Aug 14, 2018 at 16:10 | comment | added | remedcu | @Graipher updated the question with time limit. And thank you maxb I will try that as well. | |
Aug 14, 2018 at 16:09 | history | edited | remedcu |
edited tags
|
|
Aug 14, 2018 at 16:08 | comment | added | Graipher |
If your first code runs without a RuntimeError and just generates a time-out, that part would be on-topic (and you should add the tag time-limit-exceeded).
|
|
Aug 14, 2018 at 15:48 | history | closed |
IEatBagels Ludisposed Stephen Rauch Toby Speight yuri |
Not suitable for this site | |
Aug 14, 2018 at 15:14 | history | edited | rolfl | CC BY-SA 4.0 |
added 16 characters in body
|
S Aug 14, 2018 at 15:13 | history | suggested | sineemore | CC BY-SA 4.0 |
Added missing tags, removed h1 from body
|
Aug 14, 2018 at 15:10 | comment | added | maxb | Try using the fact that \3ドル+6+9+...+3n = 3(1+2+3+...+n) = \frac{3n(n+1)}{2}\,ドル and see what you can do with that. | |
Aug 14, 2018 at 15:10 | review | Close votes | |||
Aug 14, 2018 at 15:48 | |||||
Aug 14, 2018 at 15:05 | comment | added | remedcu | The code in the question work for 4 out of 6 cases, and HackeRank does not reveal the test cases so I asked if there is any way to improve the performance of the above code. | |
Aug 14, 2018 at 14:58 | review | Suggested edits | |||
S Aug 14, 2018 at 15:13 | |||||
Aug 14, 2018 at 14:58 | comment | added | FreezePhoenix | Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, maintainability, performance, and scalability. We require that the code be working correctly, to the best of the author's knowledge, before proceeding with a review. | |
Aug 14, 2018 at 14:55 | review | First posts | |||
Aug 14, 2018 at 15:49 | |||||
Aug 14, 2018 at 14:52 | history | asked | remedcu | CC BY-SA 4.0 |