34
DiZ
14 34 43
7059/ 7195
Last seen 2 years ago
Member for 11 years, 5 months, 27 days
Difficulty Normal
Missions (188) / Solutions (195)
Best solutions / Newest solutions
Home
Sum of chr
Pawn Brotherhood
chr
any
ord
lambda
sum
2
3
oneliner
Days Between
abs
lambda
2
5
1 Counter
Non-unique Elements
if-comprehension
list-comp
comprehension
6
3
No datetime
Days Between
abs
if
12
4
Short
Even the Last
lambda
sum
len
Shorter
Three Words
bytes
map
isalpha
lambda
split
map
Three Words
map
isalpha
lambda
join
True
Could be shorter :p
Right to Left
replace
lambda
join
comprehension
2
62
Three Words
bytes
map
isalpha
lambda
split
Counter
Non-unique Elements
collections.Counter
Counter
collections
if-comprehension
list-comp
Straightforward implementation
Three Words
isalpha
False
True
split
else
1
Electronic Station
GNU puns
Boolean Algebra
find
lambda
4
6
Ray casting
Inside Block
zip
min
max
and
True
6
1
puncs
Boolean Algebra
find
lambda
1
complex
Can You Pass?
complex
set-comp
enumerate
set
while
Recursive generators
Mathematically Lucky Tickets
operator.truediv
truediv
operator.sub
operator.add
ZeroDivisionError
No list comprehension
Digits Multiplication
math.exp
exp
math.log
log
filter
eval replace
Digits Multiplication
eval
replace
lambda
join
str
Another lambda
Verify Anagrams
replace
lower
lambda
sorted
Straightforward solution (4 pass)
Find Sequence
all
zip
enumerate
lambda
False
1 pass
Find Sequence
set-comp
all
inline-if
False
and
O(n)
Brackets
ord
map
pop
not
in
Scientific Expedition
65
Pangram
chr
upper
map
set
lambda
1
24
158
Call to Home
values
sum
comprehension
int
for
3
4
52
Secret Message
filter
isupper
lambda
join
str
6
2
78
Letter Queue
lambda
and
9
replace
Bird Language
re.sub
sub
r-string
re
replace
10
O(n) (1 regex)
Striped Words
re.I
I
findall
re.findall
r-string
13
3
for zip_longest
The Hidden Word
itertools.zip_longest
zip_longest
splitlines
itertools
find
16
Straightforward
Call to Home
math.ceil
ceil
collections.defaultdict
defaultdict
values
Mn twisted
Remove Accents
lambda
join
if-comprehension
comprehension
Method caller
Common Words
methodcaller
operator.methodcaller
and_
operator.and_
operator
List comprehension
Common Words
intersection
set
lambda
sorted
join
First
Letter Queue
pop
join
append
split
else
Straightforward
Cipher Map
reversed
zip
enumerate
join
append
I don't love Python!
I Love Python!
lambda
join
split
int
1
O(n), only 1 recursion
The Most Wanted Letter
ascii_lowercase
string.ascii_lowercase
collections.Counter
Counter
string
Customizable lambdas
Morse Clock
translate
zfill
bin
map
lambda
One-liner (Counter & sort trick)
The Most Wanted Letter
filter
collections.Counter
Counter
items
collections
Straightforward
Absolute Sorting
abs
lambda
sorted
O'Reilly
45
Index Power
lambda
len
1
11
Simple recursive
Parse Array
startswith
endswith
strip
ord
enumerate
1
60
Flatten a List
type
map
lambda
inline-if
sum
2
18
58
Median
sort
lambda
len
6
6
Binary Indexed Tree
Count Inversions
reversed
dict-comp
enumerate
sorted
while
14
2
fill dict
Cipher Crossword
itertools.permutations
permutations
chain
itertools.chain
itertools
65
Flatten a List
isinstance
map
lambda
inline-if
sum
recursive
Determine the Order
setdefault
union
add
zip
map
52
Flatten a List
map
lambda
sum
50
Flatten a List
map
lambda
sum
list
Generated
Loading Cargo
itertools.permutations
permutations
itertools
map
min
First
Xs and Os Referee
all
zip
enumerate
elif
list
Following definition
Median
inline-if
sum
sorted
len
Incinerator
frozenset
Friends
class
getattr
frozenset
set-comp
pass
First
Building Base
class
format
Mine
Borders
Color Map
setdefault
union
set-comp
add
items
1
7
Regex
Currency Style
translate
re.sub
sub
re
lambda
3
Fraction-free GE
Determinant
continue
abs
max
not
lambda
3
4
DFS
Disposable Teleports
frozenset
map
pop
set
join
4
Bit hack
Binary Count
while
4
1
115
Moore Neighbourhood
lambda
sum
comprehension
len
5
reduce
The Greatest Common Divisor
fractions.gcd
gcd
fractions
functools.reduce
reduce
11
3
Straightforward
Achilles and the Tortoise
lambda
11
Dispatch and merge
The Einstein Problem-Lite
discard
next
filter
any
zip
19
BFS
What Is Wrong With This Family?
setdefault
union
copy
values
keys
Simple dict
Fizz Buzz
lambda
join
if-comprehension
comprehension
str
4
Straightforward
Binary Count
bin
lambda
count
Ice Base
4 lines
How to Find Friends
intersection
update
filter
set
in
1
7
sentinel
Making Change
set-comp
min
in
range
comprehension
3
Without math
Counting Tiles
range
int
for
4
First
Feed Pigeons
max
int
6
1
Straightforward
Clock Angle
map
min
abs
split
int
6
Straightforward
Monkey Typing
lower
lambda
sum
in
comprehension
14
2
First
Oil Pie
Fraction
fractions.Fraction
fractions
map
abs
Short
The Most Numbers
min
max
lambda
len
O(n) search
Largest Rectangle in a Histogram
enumerate
pop
max
while
append
1
Without dictionnary
Roman Numerals
divmod
insert
enumerate
abs
join
Second
Roman Numerals
enumerate
lambda
join
list-comp
comprehension
Alice In Wonderland
Short sum
Multiplication Table
bin
lambda
sum
comprehension
int
14
Dijkstra again
The Shortest Knight's Path
heappush
heapq.heappush
heappop
heapq.heappop
heapq
18
3
First
IP Network: Route Summarization
set-comp
format
map
max
lambda
ipaddress
IP Network: Route Summarization
ip_network
ipaddress.ip_network
ip_address
ipaddress.ip_address
ipaddress
zip one-liner
Transposed Matrix
zip
lambda
list
GitHub
str
Solution for Anything
class
str
1
4
Shortest?
Solution for Anything
id
class
str
6
1
O(1)
The Most Frequent Weekdays
lambda
7
1
Brute formula
Area of a Convex Polygon
abs
lambda
sum
range
comprehension
12
Explanation
Shooting Range
complex
round
min
not
lambda
set
Painting Wall
add
tuple
enumerate
min
set
set set set
Power Supply
setdefault
update
keys
get
add
Itertools
The End of Other
itertools.permutations
permutations
endswith
as
any
First
Open Labyrinth
items
pop
min
or
join
Dropbox
Manacher's algorithm
The Longest Palindromic
format
enumerate
min
max
join
2
3
11? :-P
The Best Number Ever
int
13
1
First
Friendly Number
float
format
abs
break
list
new
Simple Hashlib
lambda
Gaussian elimination over Z/ 360Z ring
Hubspot Amulet
Fraction
fractions.Fraction
fractions
zip
map
Stacked factors
Numbers Factory
not
inline-if
join
while
append
Fixed memory
Numbers Factory
enumerate
not
inline-if
join
while
Vector OA
Three Points Circle
eval
format
round
list-comp
comprehension
Concise join
Speech Module
zfill
filter
map
None
inline-if
PyCon TW
branch if box
Express Delivery
heappush
heapq.heappush
heappop
heapq.heappop
heapq
1
5
119
Digit Stack
lambda
inline-if
int
len
1
7
Shortest
How Much Gold
abs
lambda
sum
in
comprehension
2
log(n) (space) and o(n) (time)
Golden Pyramid
reversed
enumerate
max
list-comp
comprehension
4
3
reset globals
Dark Labyrinth
complex
clear
divmod
collections.Counter
Counter
11
Only 1 formula
Simple Areas
lambda
sum
comprehension
len
12
First
Ryerson Letter Grade
divmod
strip
or
int
str
13
Network BFS
Network Attack
add
enumerate
pop
min
max
75
House Password
islower
isupper
isalpha
isdigit
lambda
7
Complex
Calculate Islands
complex
discard
set-comp
enumerate
pop
First
House Password
functools.reduce
reduce
functools
islower
isupper
Storage
partial
Playfair Cipher
functools.partial
partial
isalnum
digits
string.digits
1
2
Cube coordinates
Hexagon Spiral
divmod
zip
map
abs
max
1
1
Binary & Complex
Forgetful Prisoner
random.choice
choice
random
values
dict-comp
1
2
re
Moria Doors
findall
re.findall
re
min
set
2
1
O(n**.5) in 9 lines
Saw the Stick
while
in
append
len
if
2
1
Translation table (3 steps)
English to Braille Translator
chr
bin
ord
zip
map
2
short complex
Square Spiral
abs
int
2
No heap
Digging a Canal
bisect.insort
insort
bisect
add
continue
2
shortest
Exec Quine
lambda
5
4
Short with enumerate
Restricted Prime
all
enumerate
lambda
if-comprehension
and
5
1
Random
Forgetful Prisoner
random.choice
choice
random
inline-if
if-comprehension
6
Straightforward
Saw the Stick
sum
while
append
range
len
12
2
70
Weak Point
zip
index
min
lambda
sum
12
1
as hinted
Mind Switcher
popitem
get
continue
pop
not
alpha bytes
Word Pattern
bytes
isalpha
lambda
comprehension
int
Only one loop
Weak Point
range
len
for
if
HubSpot
50
Number Base
max
lambda
int
10
1
generic
Auto Painting
map
min
lambda
join
range
Short eval
Restricted Sum
eval
map
lambda
join
str
First
The Hamming Distance
bin
lambda
count
Without try
Number Base
max
lambda
inline-if
comprehension
int
Blizzard
3 steps
Safe Coasts
add
remove
map
enumerate
pop
1
5
(d>''<b)
String Conversion
min
lambda
inline-if
len
1
1
timetuple
Unlucky Days
lambda
sum
range
comprehension
8
O(N*N)
Radiation Search
set-comp
add
remove
enumerate
pop
14
Quote escaping
Palindromic Palindrome
lambda
16
Recursive
Stair Steps
max
not
len
if
Variable move length
Stair Steps
max
for
Duck typing
Min and Max
TypeError
iter
next
except
try
1
ordinal one-liner
Weekend Counter
datetime.fromordinal
fromordinal
date
datetime.date
datetime
O(1) one-liner
Weekend Counter
lambda
sum
range
comprehension
Law of cosines
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
round
Rock
cmath
Black Holes
cmath.acos
cmath.sqrt
cmath.pi
cmath
complex
1
regex grid
Crossword Solver
finditer
re.finditer
discard
fromkeys
setdefault
1
1
del
Web Log Sessions
setdefault
map
lower
sorted
join
1
2
I will stick to Py3! (66 chars)
Parity Bit Generator
chr
bin
lambda
count
join
3
2
Recursive targeting
Berserk Rook
chr
add
ord
map
enumerate
3
8
Straightforward
CheckSum
ord
map
isupper
enumerate
isdigit
15
dead & born
Life Counter
set-comp
enumerate
not
lambda
if-comprehension
Good recursive
Berserk Rook
chr
add
ord
map
enumerate
Shelter
Graph expansion
The Lantern Festival
difference_update
union
collections.defaultdict
defaultdict
update
1
O(1) obfuscated
Ghosts Age
math.log
log
round
math
lambda
2
2
Eulerian path & DFS
One line Drawing
frozenset
collections.defaultdict
defaultdict
add
items
5
1
partial
AMSCO Cipher
functools.partial
partial
functools
dict
enumerate
9
Straightforward
Pattern Recognition
list-comp
range
comprehension
len
for
Codeship
Simpler O(n^4)
The Square Chest
set-comp
all
tuple
sum
sorted
1
8
3 shots
Texas Referee
find
map
set
max
lambda
1
3
combinations_with_replacement
Unfair Dice
combinations_with_replacement
itertools.combinations_with_replacement
itertools
continue
sum
1
4
Recursive golf
Pearls in the Box
lambda
count
inline-if
sum
comprehension
2
1
Supercover line
Bats Bunker
math.hypot
hypot
combinations
itertools.combinations
dict-comp
2
1
One dimension heap
8 Puzzle
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2
Judge all of them
Texas Referee
combinations
itertools.combinations
itertools
index
set
3
3
A*
The 88th Puzzle
dict-comp
get
add
tuple
zip
3
yield from
Unfair Dice
yield
sum
range
comprehension
else
4
2
Straightforward
Texas Referee
union
next
set-comp
reversed
collections.Counter
6
Parallel segments
The Square Chest
set-comp
add
tuple
break
set
7
Counter
Probably Dice
dict-comp
sum
range
comprehension
for
12
set
Minesweeper
itertools.product
product
add
itertools
continue
Hermit
Cycle detection
Break Rings
min
set
lambda
comprehension
len
1
6
Counter update
Simplification
class
eval
update
re.sub
sub
1
漢字
Mono Captcha
bytes
bin
ord
min
lambda
2
5
Base 3
Anagrams By Stacks
frozenset
divmod
add
format
items
2
2
magic Counter
Simplification
class
eval
isinstance
strip
get
6
cmp
Colder-Warmer
set-comp
pop
or
if-comprehension
range
8
1
Bypassing ValueError
The Good Radix
max
not
range
int
for
8
verbose
Network Loops
difference_update
setdefault
keys
pop
set
9
memory space optimization
Anagrams By Stacks
tuple
map
continue
pop
not
Overlapping ranges
Keywords Finder
reversed
insert
find
min
break
Divmod on Fraction
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
f-string
Evident solution
The Good Radix
pass
except
try
not
range
Base 33
Mono Captcha
bytes
bin
min
lambda
count
iterative
Ore In The Desert
complex
next
all
round
abs
Watchtower
any number of functions
Compare Functions
chr
ord
enumerate
None
except
1
2
Happy Halloween! Merry Christmas!
Bag of Santa Claus
max
and
1
1
partial
Vigenere Cipher
itertools.accumulate
accumulate
functools.partial
partial
cycle
2
2
Straightforward
Ethernet Ring Dimensioning
fromkeys
values
dict
map
continue
2
simpledict
DNA Common Sequence
collections.defaultdict
defaultdict
set-comp
collections
map
4
2
85
Number Guess
intersection
set
max
lambda
list-comp
4
1
von Neumann neighbourhood
Bacteria Colonies
union
update
set-comp
dict-comp
keys
BFS
Numbered Triangles
remove
zip
map
continue
enumerate
First
Rotate Hole
set-comp
enumerate
set
not
lambda
First
Funny Addition