pre-commit-ci[bot]
|
716bdeb68b
|
[pre-commit.ci] pre-commit autoupdate (#11473)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0)
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1)
* Fix ruff issues
* Fix ruff issues
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
|
2024-07-02 07:02:29 +02:00 |
|
pre-commit-ci[bot]
|
bc8df6de31
|
[pre-commit.ci] pre-commit autoupdate (#11322)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-03-13 07:52:41 +01:00 |
|
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 |
|
Paulo S. G. Ferraz
|
1400cb86ff
|
Remove duplicate is_prime related functions (#5892)
* Fixes (#5434)
* Update ciphers.rabin_miller.py
maths.miller_rabin.py
* Fixing ERROR maths/miller_rabin.py - ModuleNotFoundError and changing project_euler's isPrime to is_prime function names
* Update sol1.py
* fix: try to change to list
* fix pre-commit
* fix capital letters
* Update miller_rabin.py
* Update rabin_miller.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
|
2022-04-09 01:40:45 +08:00 |
|
Maxim Smolskiy
|
b55da04602
|
Improve Project Euler problem 058 solution 1 (#4782)
* Fix typo
* Improve solution
* Retest
* Replace n with number
|
2021-10-25 16:07:10 +08:00 |
|
sharmapulkit04
|
e172a8b08b
|
Hacktoberfest: Added first solution to Project Euler problem 58 (#3599)
* Added solution to problem 58
* Update sol1.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
|
2020-10-29 10:03:55 +08:00 |
|