Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projecteuler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
projecteuler
Commits
30ad39bf
Commit
30ad39bf
authored
Dec 07, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some unused imports
parent
bd0d4148
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
problem33.py
problem33.py
+1
-1
problem49.py
problem49.py
+1
-1
problem50.py
problem50.py
+0
-1
problem79.py
problem79.py
+0
-2
No files found.
problem33.py
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
)]
...
...
problem49.py
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
):
...
...
problem50.py
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
):
...
...
problem79.py
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment