Nikos Giachoudis
2104fa7aeb
Unify O(sqrt(N))
is_prime
functions under project_euler
( #6258 )
...
* fixes #5434
* fixes broken solution
* removes assert
* removes assert
* Apply suggestions from code review
Co-authored-by: John Law <johnlaw.po@gmail.com>
* Update project_euler/problem_003/sol1.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
2022-09-14 09:40:04 +01:00
Christian Clauss
cecf43d648
Pyupgrade to Python 3.9 ( #4718 )
...
* Pyupgrade to Python 3.9
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-07 13:37:03 +02:00
Christian Clauss
9b95e4f662
Pyupgrade to python3.8 ( #3616 )
...
* Upgrade to Python 3.8 syntax
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-21 12:46:14 +02:00
Dhruv
44254cf112
Rename Project Euler directories and other dependent changes ( #3300 )
...
* Rename all Project Euler directories:
Reason:
The change was done to maintain consistency throughout the directory
and to keep all directories in sorted order.
Due to the above change, some config files had to be modified:
'problem_22` -> `problem_022`
* Update scripts to pad zeroes in PE directories
2020-10-15 12:43:28 +05:30