Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
projecteuler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
projecteuler
Commits
30ad39bf
Commit
30ad39bf
authored
12 years ago
by
Taddeus Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Removed some unused imports
parent
bd0d4148
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
problem33.py
+1
-1
1 addition, 1 deletion
problem33.py
problem49.py
+1
-1
1 addition, 1 deletion
problem49.py
problem50.py
+0
-1
0 additions, 1 deletion
problem50.py
problem79.py
+0
-2
0 additions, 2 deletions
problem79.py
with
2 additions
and
5 deletions
problem33.py
+
1
−
1
View file @
30ad39bf
#!/usr/bin/env python
#!/usr/bin/env python
from
__future__
import
division
from
__future__
import
division
from
itertools
import
combinations
,
permutations
from
itertools
import
combinations
from
utils
import
gcd
from
utils
import
gcd
nrs
=
[(
i
,
str
(
i
))
for
i
in
xrange
(
10
,
100
)]
nrs
=
[(
i
,
str
(
i
))
for
i
in
xrange
(
10
,
100
)]
...
...
This diff is collapsed.
Click to expand it.
problem49.py
+
1
−
1
View file @
30ad39bf
#!/usr/bin/env python
#!/usr/bin/env python
from
itertools
import
permutations
,
combinations
from
itertools
import
permutations
,
combinations
from
utils
import
primes_until
,
digits
,
add
from
utils
import
primes_until
,
add
from
sys
import
exit
from
sys
import
exit
def
concat
(
digits
):
def
concat
(
digits
):
...
...
This diff is collapsed.
Click to expand it.
problem50.py
+
0
−
1
View file @
30ad39bf
#!/usr/bin/env python
#!/usr/bin/env python
from
math
import
sqrt
from
utils
import
primes_until
from
utils
import
primes_until
def
maxprime
(
n
):
def
maxprime
(
n
):
...
...
This diff is collapsed.
Click to expand it.
problem79.py
+
0
−
2
View file @
30ad39bf
#!/usr/bin/env python
#!/usr/bin/env python
from
itertools
import
permutations
codes
=
[
319
,
680
,
180
,
690
,
129
,
620
,
762
,
689
,
762
,
318
,
368
,
710
,
720
,
710
,
codes
=
[
319
,
680
,
180
,
690
,
129
,
620
,
762
,
689
,
762
,
318
,
368
,
710
,
720
,
710
,
629
,
168
,
160
,
689
,
716
,
731
,
736
,
729
,
316
,
729
,
729
,
710
,
769
,
290
,
629
,
168
,
160
,
689
,
716
,
731
,
736
,
729
,
316
,
729
,
729
,
710
,
769
,
290
,
719
,
680
,
318
,
389
,
162
,
289
,
162
,
718
,
729
,
319
,
790
,
680
,
890
,
362
,
719
,
680
,
318
,
389
,
162
,
289
,
162
,
718
,
729
,
319
,
790
,
680
,
890
,
362
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment