Timeline for Sandbox for Proposed Challenges
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 25, 2023 at 6:38 | comment | added | Bubbler | Also there is very little point in banning 3rd party libs, as you can always copy the entire code to submit it anyway. | |
Sep 25, 2023 at 6:32 | comment | added | Bubbler | Bad news: Python is probably getting an impl that can convert 4,000,000-digit numbers in 0.3s. It is already available as a 3rd party lib. github.com/python/cpython/issues/90716#issuecomment-1717742073 | |
Sep 22, 2023 at 17:20 | comment | added | bsoelch | About GMP: You could ban third party libraries. At least in Python the standard library version of string to int is not the fastest possible solution (I tried a relatively simple recursive approach and managed to get the time for 1000000 digits from over 4 seconds to below one second). | |
Sep 22, 2023 at 16:08 | history | edited | Command Master | CC BY-SA 4.0 |
added 220 characters in body
|
Sep 22, 2023 at 0:31 | comment | added | l4m2 |
On my computer time python3 -c 'bin(int("1"*1000000))' executes for 4 seconds
|
|
Sep 21, 2023 at 15:39 | comment | added | Command Master | @bsoelch I'd say it's reset between calls, although allowing precomputation somehow might be good? I'm not sure what would be more interesting. | |
Sep 21, 2023 at 15:35 | comment | added | bsoelch | Will the program be reset between calls or is it allowed to reuse temporary values (e.g powers of 10) computed in the first call for the other 9 calls | |
Sep 21, 2023 at 11:14 | history | answered | Command Master | CC BY-SA 4.0 |