39
CDG.Axel
18 36 55 Leader of the month
9398/ 9695
Axel
Last seen 1 month ago
Member for 2 years, 8 months, 20 days
Difficulty Normal
Missions (257) / Solutions (349)
Best solutions / Newest solutions
Initiation
operand &
Is Even
bool
int
1
7
one line or break
Remove All Before
enumerate
index
typing.Iterable
Iterable
break
1
6
First
Split Pairs
zip
append
for
1
4
6 solutions, different speed (fastest with map)
Count Digits
map
isdigit
sum
int
str
2
2
No exceptions...
Correct Sentence
upper
inline-if
str
3
2
One liner - "for in if"
Sum Numbers
isdigit
sum
if-comprehension
list-comp
split
3
3
sum with for in one line
Count Digits
isdigit
sum
if-comprehension
comprehension
int
5
5
Two solutions
All Upper I
upper
bool
str
7
2
re findall
Split Pairs
findall
re.findall
re
8
4
First
Max Digit
max
int
str
8
4
Pythonic
Sum Numbers
filter
map
isdigit
sum
split
10
3
Simple but non-universal
Between Markers (simplified)
index
str
16
1
First
End Zeros
rstrip
int
str
len
4
Short with some description
Nearest Value
min
abs
set
lambda
int
1
One liner
Correct Sentence
upper
inline-if
str
4
if + slice
Remove All Before
index
typing.Iterable
Iterable
typing
inline-if
2
slices
Replace First
typing.Iterable
Iterable
typing
list
2
Short (sorted + lambda)
Nearest Value
min
abs
set
lambda
sorted
2
Short
Beginning Zeros
lstrip
int
str
len
3
len + set
All the Same
Any
typing.Any
List
typing.List
bool
Home
sorted + key
Bigger Price
lambda
sorted
list
int
4
1
One liner
Split List
list
len
6
1
One liner
Sun Angle
typing.Union
Union
typing
inline-if
int
6
strptime strftime
Date and Time Converter
datetime.strptime
strptime
f-string
datetime.datetime
datetime
7
1
Triple truth
Three Words
map
isalpha
bool
join
in
14
4
78 symbols proc
Morse Decoder
capitalize
get
map
replace
join
15
1
slice join split
Backward Each Word
join
split
comprehension
str
15
One line proc (65 symbols)
Three Words
isalpha
bool
join
in
split
19
1
Dict comprehension
Popular Words
dict-comp
dict
lower
count
split
replace + split
First Word
replace
split
str
Two solutions (one line is slower)
Bigger Price
sort
lambda
True
list
int
1
One liner (but not clear)
Between Markers
find
None
inline-if
in
str
datetime difference
Days Between
date
datetime.date
datetime
abs
One liner - sorted tuple
Sort Array by Element Frequency
index
lambda
count
sorted
True
1
Chr + Ord
Pawn Brotherhood
chr
ord
set
or
if-comprehension
1
Second
Three Words
isalpha
bool
False
True
split
2
Two line
Sun Angle
typing.Union
Union
typing
inline-if
int
1
Tuple -> Dict
Popular Words
dict
lower
count
split
list
5
Short (replace by letters)
Morse Decoder
capitalize
replace
join
list-comp
split
Short
Right to Left
tuple
replace
join
str
5
One liner with :=
Second Index
find
None
inline-if
int
str
3
One liner
Even the Last
inline-if
sum
list
int
2
split than join
Morse Decoder
capitalize
join
list-comp
split
comprehension
First
Date and Time Converter
datetime.strptime
strptime
datetime.datetime
datetime
inline-if
1
First
Sun Angle
typing.Union
Union
typing
or
inline-if
3 lines
Between Markers
find
inline-if
str
len
if
One liner (for - if)
Non-unique Elements
count
if-comprehension
list-comp
list
comprehension
1
Electronic Station
Simple
Unix Match. Part 2
re.search
search
re
replace
bool
4
6
Puzzled one-liner
Find Sequence
set-comp
any
List
typing.List
bool
7
1
4 one-liners with speed test
Ascending List
time.time
time
f-string
all
zip
9
3
len + set vs C-like
Surjection Strings
get
zip
enumerate
set
not
10
5
dict & logical
Boolean Algebra
12
3
48 symbols proc with prod
Digits Multiplication
filter
map
None
int
str
14
1
5 lines
Can You Pass?
set-comp
enumerate
while
if-comprehension
in
18
2 proc for 3 lines (recursive)
Can You Pass?
set-comp
enumerate
or
if-comprehension
in
19
len + any + map
Acceptable Password II
any
map
isdigit
bool
and
count sides
Inside Block
Ellipsis
Tuple
typing.Tuple
bool
not
1
one or no and
Acceptable Password IV
map
isdigit
bool
or
sum
1
one liner (rsplit + maxsplit)
Sort by Extension
rsplit
List
typing.List
typing
lambda
1
side proportion
Similar Triangles
Tuple
typing.Tuple
set-comp
List
typing.List
3
re.search
Unix Match. Part 1
re.search
search
re
replace
bool
1
reduce filtered map!
Digits Multiplication
functools.reduce
reduce
functools
filter
map
1
numpy.linalg.norm
Similar Triangles
numpy.linalg
linalg
itertools.starmap
starmap
numpy.array
1
One liner (long line)
Brackets
replace
not
lambda
or
join
Broken head
Inside Block
Ellipsis
Tuple
typing.Tuple
bool
not
One-liner as multi-line
Find Sequence
set-comp
List
typing.List
bool
typing
1
all before + len-set
Acceptable Password VI
find
map
isdigit
bool
set
2 lines proc
Words Order
index
bool
set
sorted
if-comprehension
isdigit + sum
Acceptable Password III
isdigit
bool
sum
list-comp
comprehension
1
one more comparison
Acceptable Password V
find
map
isdigit
bool
lower
1
0 < sum < len > 6
Acceptable Password III
isdigit
bool
sum
list-comp
comprehension
1
isupper + alternative
All Upper II
isupper
bool
str
map and compare (3 lines)
Words Order
map
index
bool
set
lambda
2
sorted strings
Verify Anagrams
replace
lower
sorted
str
1
reduce list without 0
Digits Multiplication
functools.reduce
reduce
functools
lambda
if-comprehension
10 lines
Find Sequence
any
List
typing.List
zip
map
Scientific Expedition
2 cycles, 7 lines total
The Hidden Word
map
replace
lower
lambda
join
7
2
One liner
Caps Lock
swapcase
enumerate
inline-if
join
list-comp
7
2
some cheat
Follow Instructions
Tuple
typing.Tuple
typing
count
int
8
1
one line 59 symbols
Time Converter (24h to 12h)
f-string
int
10
First solution
The Hidden Word
find
map
enumerate
None
replace
11
1
One long line
YAML. More Types
isdecimal
splitlines
type
isinstance
filter
16
one line 79 symbols
Time Converter (24h to 12h)
f-string
inline-if
int
6
nExT stage 3
I Love Python!
Template
string.Template
issubclass
callable
finally
3
2 lines with f-string
Morse Clock
zfill
f-string
replace
list-comp
split
1
nExT stage 4
I Love Python!
BytesWarning
ReferenceError
BufferError
MemoryError
UnicodeDecodeError
re.findlall
Conversion from CamelCase
findall
re.findall
re
lower
join
2
2 solutions
Remove Accents
filterfalse
itertools.filterfalse
combining
unicodedata.combining
normalize
One long line or 3?
Call to Home
set-comp
List
typing.List
max
typing
1
map capitalize
Conversion into CamelCase
capitalize
map
join
split
str
Two solutions (2 & 9 lines)
YAML. More Types
isdecimal
splitlines
isinstance
filter
strip
Dictionary
Morse Clock
zfill
f-string
list-comp
split
comprehension
1
One liner with comments
The Most Wanted Letter
filter
collections.Counter
Counter
items
collections
Two solutions with set
Pangram
set-comp
ascii_lowercase
string.ascii_lowercase
string
isalpha
1
nExT stage 2
I Love Python!
heappushpop
heapq.heappushpop
heapify
heapq.heapify
cmp_to_key
Two solutions (2 & 5 lines)
YAML. Simple Dict
splitlines
filter
strip
dict-comp
map
1
3 different solutions
Pangram
set-comp
ascii_lowercase
string.ascii_lowercase
as
string
sorted + key=abs
Absolute Sorting
abs
sorted
list
sorted + set
Common Words
set
sorted
join
split
str
zip - zip
Cipher Map
List
typing.List
zip
enumerate
typing
3
no type, no isinstance
Sum by Type
Tuple
typing.Tuple
typing
sum
join
1
Short one-liner
The Most Wanted Letter
filter
isalpha
min
lower
lambda
1
strip text
Bird Language
replace
inline-if
while
in
str
1
one liner - join filter
Secret Message
filter
isupper
join
str
nExT stage
I Love Python!
Enum
enum.Enum
enum
issuperset
AttributeError
5th
I Love Python!
BytesWarning
ReferenceError
BufferError
MemoryError
UnicodeDecodeError
O'Reilly
7 lines
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
1
5
4 lines, weird
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
1
5
8 lines proc
Lightbulb Operating
typing.Union
Union
Optional
typing.Optional
datetime.timedelta
1
2
non-recursive + recursive solutions
How Deep
find
max
if-comprehension
list-comp
comprehension
2
4
2 lines proc, weird
Reverse Every Ascending
lambda
inline-if
range
len
2
2
10 lines, commented
Lightbulb Operating
typing.Union
Union
Optional
typing.Optional
datetime.timedelta
2
2
5 lines
Multiple Lightbulbs
typing.Union
Union
Optional
typing.Optional
Tuple
2
3
One liner (long line)
Lightbulb End Watching
datetime.min
datetime.max
Optional
typing.Optional
datetime.datetime
2
2
5 lines brute force
Cipher Crossword
setdefault
all
zip
list-comp
comprehension
2
One liner
Integer Palindrome
bool
if-comprehension
list-comp
range
comprehension
2
One liner
Lightbulb Start Watching
datetime.datetime
datetime
List
typing.List
zip
3
1
n*n/2
Loading Cargo
set-comp
min
abs
comprehension
for
3
3
2 lines (84 symbols)
Sort Except Zero
iter
next
filter
None
inline-if
3
1
2 lines - sum, zip
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
5
4
no type, 60 symbols
Flatten a List
inline-if
for
6
5 lines
Reverse Every Ascending
range
len
for
if
9
1
sorted once (60 symbols)
Frequency Sorting
List
typing.List
typing
lambda
count
9
8 lines (fully commented)
Lightbulb More
datetime.min
datetime.max
typing.Union
Union
Optional
9
1
i*0 != 0
How Deep
max
if-comprehension
list-comp
comprehension
11
5 lines proc (simple)
Integer Palindrome
divmod
bool
while
append
int
14
1
2 lines proc (one long)
Lightbulb End Watching
datetime.datetime
datetime
List
typing.List
zip
14
1
range'n'slice
Chunk
typing.Iterable
Iterable
typing
list-comp
range
16
No time module
Time Converter (12h to 24h)
f-string
map
split
int
19
2
One liner 59 symbols
Compress List
zip
typing.Iterable
None
Iterable
typing
1
slice'n'sort
Median of Three
typing.Iterable
Iterable
typing
sorted
list-comp
Recursion
Loading Cargo
min
abs
not
inline-if
1
one liner - sum / zip
Lightbulb Intro
datetime.datetime
datetime
List
typing.List
zip
1
One liner
Count Inversions
enumerate
sum
comprehension
1
5 lines, pairs
Cipher Crossword
itertools.permutations
permutations
get
dict
itertools
4 lines 230 symbols
Xs and Os Referee
dict-comp
tuple
List
typing.List
zip
1
8 lines, 218 symbols
The Flat Dictionary
update
type
items
inline-if
else
One liner slice-if-else
Remove All After
index
typing.Iterable
Iterable
typing
inline-if
1
64 symbols
Flatten a List
type
inline-if
int
for
1
First
Median
float
List
typing.List
sort
typing
2
Two lines (sorted + pop)
Sort Except Zero
filter
pop
typing.Iterable
None
Iterable
1
slices
Replace Last
inline-if
list
2
Short in symbols
Median
float
List
typing.List
sort
typing
2
sum > len
Majority
bool
sum
list
len
2
try except
Index Power
except
try
list
int
2
5 lines, zip-transpose
Xs and Os Referee
List
typing.List
zip
enumerate
set
Incinerator
140 lines
The Warlords
class
clear
staticmethod
property
super
2
1
26 lines (dict as ancestor)
Voice TV Control
class
super
values
dict-comp
dict
7
1
set of walrus
Friends
class
issubset
frozenset
union
super
7
2
Decorator
Capital City
class
if
9
59 lines
The Lancers
vars
locals
class
staticmethod
update
10
122 lines
The Weapons
class
clear
staticmethod
property
super
19
2
70 lines
The Lancers
vars
locals
class
staticmethod
update
First
The Warriors
class
property
decorator
pass
while
1
First solution
Army Battles
class
staticmethod
property
decorator
extend
6
53 lines
The Defenders
vars
locals
class
staticmethod
update
Idk how it works :)
Geometry Figures
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
First
Army Units
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
abstract total()
3 Chefs
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
84 lines
Straight Fight
class
clear
staticmethod
property
super
73 lines
The Healers
class
staticmethod
property
super
type
First
Multicolored Lamp
class
59 lines
The Vampires
vars
locals
class
staticmethod
update
dataclass decorator
Building Base
dataclass
dataclasses
dataclasses.dataclass
class
float
First
Building Base
class
f-string
Mine
Two lines proc
Count Morse
startswith
replace
inline-if
sum
if-comprehension
1
4 lines proc
Ulam-Warburton Automaton Hex
union
update
set-comp
tuple
zip
1
1
One line proc (60 symbols)
Ulam–Warburton Automaton
sum
range
comprehension
int
2
3(4) lines
Chess Knight
update
chr
ord
set
inline-if
2
3 lines proc
Ulam-Warburton Automaton Hex
union
update
set-comp
map
set
2
5
Recursive formula (commented)
Toothpicks
bin
inline-if
int
len
2
One liner (long line)
Can Balance
iter
next
typing.Iterable
Iterable
typing
3
1
5 lines, commented
What Is Wrong With This Family?
update
get
items
bool
set
5
3
Clear recursion
Count Morse
startswith
set
inline-if
sum
if-comprehension
8
1
two solutions 5 & 13 lines
The Einstein Problem-Lite
itertools.product
product
values
all
itertools
9
re.sub
Currency Style
re.Match
Match
translate
re.sub
sub
10
3
8 lines
Find Enemy
tuple
ord
zip
map
index
10
6 lines proc (commented)
Ulam-Warburton Automaton Hex
union
set-comp
tuple
zip
map
13
1
Formula (commented)
Toothpicks
bin
inline-if
sum
append
list-comp
14
One line proc (74 symbols)
Ulam–Warburton Automaton
max
sum
range
comprehension
int
18
One liner + clear solution
Determinant
inline-if
sum
if-comprehension
range
list
Non-recursive 6 lines
Chess Knight
chr
ord
set
inline-if
sorted
12 lines, but clear (+commented)
Find Enemy
tuple
ord
zip
abs
max
One liner 85 symbols
Caesar Cipher (encryptor)
chr
ord
inline-if
join
comprehension
Fly trace (11 lines, commented)
Escape
List
typing.List
min
bool
not
4 one line solutions
Best Stock
get
dict
max
str
2
math.gcd
The Greatest Common Divisor
int
1
2 lines proc
Bigger Together
map
min
max
join
list-comp
Python 3.10
Binary Count
int
2 solutions (1 vs 2 lines)
Moore Neighbourhood
bool
sum
comprehension
1
One line 114 symbols
Caesar Cipher (decryptor)
chr
ord
isalpha
inline-if
join
2
One line 103 symbols
Fizz Buzz
inline-if
int
str
2
Ice Base
One liner (awful)
Counting Tiles
itertools.product
product
functools.reduce
reduce
functools
3
4
10 lines
Identify Block
divmod
set-comp
dict-comp
enumerate
sorted
3
1
One liner (awful)
How to Find Friends
set-comp
pop
set
lambda
if-comprehension
8
1
One liner or not?
Oil Pie
Fraction
fractions.Fraction
fractions
functools.reduce
reduce
11
2 points inside
Counting Tiles
all
any
list-comp
range
comprehension
15
2
2 solutions: Pythonic and C-like
Count Chains
next
Tuple
typing.Tuple
reversed
filter
three solutions
Largest Rectangle in a Histogram
min
max
range
comprehension
len
groupby and no itertools solution
Long Repeat
groupby
itertools.groupby
itertools
max
list
1
(-1) ** condition
Reverse Roman Numerals
enumerate
and
len
for
findall with ^"
Find Quotes
findall
re.findall
r-string
re
2 lines proc
Reverse Roman Numerals
enumerate
sum
and
comprehension
len
4 lines - redundant calcs
How to Find Friends
update
set
if-comprehension
in
list-comp
1
isdigit
Is String a Number?
isdigit
bool
print
False
True
5 lines, non-recursive
Making Change
min
None
inline-if
if-comprehension
in
2 lines proc, weird
Roman Numerals
zip
lambda
split
Angles difference
Clock Angle
min
abs
int
Cut them all!
Reverse Roman Numerals
while
len
for
Hints idea
Roman Numerals
divmod
for
1
sum - for
Monkey Typing
find
set
lower
sum
list-comp
First
Roman Numerals
divmod
while
max - min
The Most Numbers
min
max
inline-if
1
Alice In Wonderland
weird, up to 26
Peaceable Queens
round
inline-if
print
int
1
2
3 lines 122 symbols
The Fastest Horse
argmin
numpy.argmin
statistics.mode
mode
statistics
2
1
6 lines proc (commented, no import)
Flood Area
enumerate
pop
sum
if-comprehension
and
3
3
One liner (but not clear)
Tree Walker
type
values
dict
inline-if
sum
4
1
Simple and commented
15-puzzle Solvability
enumerate
index
bool
sum
if-comprehension
4
simple recursion
Tree Walker
type
values
dict
sum
list
7
2
Dark magic
Multiplication Table
f-string
inline-if
sum
while
comprehension
7
2
One liner
Swap Nodes
filter
zip
None
sum
list-comp
8
slice'n'len
Middle Characters
len
16
1
4 lines
IP Network: Route Summarization
next
f-string
zip
enumerate
set
16
First
Swap Nodes
range
len
for
map - zip
Transposed Matrix
List
typing.List
zip
map
typing
2
Three solutions (86, 96, 99 symbols)
Zigzag Array
List
typing.List
typing
inline-if
list-comp
1
itertools.count
Zigzag Array
itertools.count
next
itertools
List
typing.List
Stack - better than first solution...
Flood Area
enumerate
while
if-comprehension
and
list-comp
10 lines proc (commented)
Flood Area
enumerate
pop
while
elif
and
2
7 lines
The Shortest Knight's Path
difference_update
update
set-comp
ord
while
2 solutions: *map vs strptime
When is Friday?
datetime.strptime
strptime
reversed
datetime.datetime
date
1
2 solutions (one line and 5 lines)
The Fastest Horse
index
min
max
count
append
1
GitHub
One liner + 2 another solution
The Highest Building
zip
map
index
max
sum
6
3
7 lines proc (commented)
Simplify Unix Path
rstrip
pop
join
elif
and
6
2 solutions
The End of Other
endswith
any
map
comprehension
8
1
7 lines
Merge Intervals
tuple
map
max
and
append
9
1
6 lines, commented
The Cheapest Flight
update
copy
get
any
List
12
1
85 symbols
The Most Frequent Weekdays
calendar.day_name
day_name
calendar.weekday
weekday
calendar
19
2
First
Create Intervals (generator version)
yield
not
sorted
for
if
one cycle, 6 lines
Create Intervals
enumerate
None
inline-if
sorted
and
one line 51 symbols
Expand Intervals
typing.Iterable
Iterable
typing
list-comp
range
6 lines
Open Labyrinth
difference_update
update
set-comp
dict-comp
items
Dumb solution
The Most Frequent Weekdays
calendar.day_name
day_name
calendar
datetime.timedelta
timedelta
Dropbox
Make it shorter (commented)!
Huffman Encode
fromkeys
dict
count
or
sorted
1
2
could 12 lines proc be clear?
Calculator-II
isdigit
lambda
or
inline-if
in
1
4
13 lines proc
Calculator-III
is
None
abs
isdigit
lambda
1
8 lines proc
Calculator-I
isdigit
inline-if
in
elif
False
1
2
Unclear 8 lines proc
Calculator-II
isdigit
lambda
inline-if
in
False
1
1
2 func for 6 lines total
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
divmod
1
1
4 lines less but weird
Huffman Encode
fromkeys
dict-comp
dict
items
set
1
2
2 functions for 7 lines total
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
divmod
1
1
10 lines proc, simple
Calculator-I
isdigit
inline-if
in
elif
False
2
5
9 lines proc
Rotating Grille Cipher
zip
pop
None
count
inline-if
2
Weird 7 lines
Rotating Grille Cipher
zip
pop
None
count
inline-if
2
1
7 lines proc
Rotating Grille Cipher
zip
map
enumerate
pop
None
3
1
Chr + Ord
Atbash Cipher
chr
islower
ord
isalpha
inline-if
3
1
One line 118 symbols
Hubspot Amulet
numpy.matmul
matmul
itertools.product
product
next
4
1
2 one-line functions
On the same path
typing.Union
Union
Tuple
typing.Tuple
any
5
1 line and 3 line solutions
Hubspot Amulet
itertools.product
product
next
itertools
sum
10
2 lines (packed from 10)
Scytale Encryption
None
inline-if
join
if-comprehension
in
11
1
wrap or not?
Text Formatting
textwrap.wrap
wrap
textwrap
rstrip
f-string
18
4
math is not programming (4 lines)!
Humpty Dumpty Form
asinh
math.asinh
math.asin
asin
math.pi
2
2 + 1 long lines
Speech Module
divmod
f-string
strip
inline-if
1
One liner
Simple Hashlib
eval
Evil math
Three Points Circle
eval
f-string
round
PyCon TW
8 lines proc
Fused Cubes
update
set-comp
set
while
list-comp
1
3
16 lines, commented
Express Delivery
difference_update
update
set-comp
copy
dict-comp
4
1
7 lines proc
Calculate Islands
set-comp
enumerate
pop
sorted
while
8
1
25 lines, commented
Express Delivery
difference_update
itertools.permutations
permutations
update
copy
One liner vs Clear
How Much Gold
items
inline-if
sum
in
comprehension
One liner in 3 lines
Double Substring
find
max
if-comprehension
range
comprehension
1
Simple commands
Digit Stack
pop
inline-if
elif
append
else
Storage
Reduced
English to Braille Translator
extend
f-string
dict-comp
chr
ord
1
1
5 lines, weird
Digging a Canal
iter
dict-comp
pop
index
min
1
2 lines proc
Working Hours Calculator
map
sum
if-comprehension
range
comprehension
1
1
wanted divmod!
Playfair Cipher
functools.partial
partial
fromkeys
isalnum
digits
3
1
3 lines proc
Working Hours Calculator
map
sum
and
split
range
7
Simplified
English to Braille Translator
extend
f-string
dict-comp
chr
ord
8
1
One liner 69 symbols
Word Pattern
isdigit
join
comprehension
int
9
divmod found!
Playfair Cipher
functools.partial
partial
fromkeys
isalnum
digits
9
2
3 lines proc
List Beautify
rjust
f-string
zip
map
enumerate
15
Same 2 lines but shorter
The Rows of Cakes
frozenset
set-comp
sum
if-comprehension
comprehension
19
1
3 lines proc (commented)
Saw the Stick
max
sum
if-comprehension
list-comp
range
Simple 10 lines
Digging a Canal
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2 lines proc (commented)
The Rows of Cakes
frozenset
set-comp
tuple
map
set
1
HubSpot
Weekstart shift
Weekly Calendar
datetime.timedelta
timedelta
date
datetime.date
datetime
6
1
non-int one-liner
Number Base
ord
map
enumerate
max
lambda
11
2
3 lines proc
New Cities
update
map
set
not
sum
15
9 lines total
Supply Line
union
set-comp
chr
ord
map
bit_count
The Hamming Distance
2
6 lines proc
New Cities
difference_update
set-comp
pop
set
sum
4 lines proc
Node Disconnected Users
difference_update
set-comp
set
or
inline-if
1
non-int solution
Number Base
ord
map
or
inline-if
False
2
Recursed one-liner
Restricted Sum
inline-if
len
2
Blizzard
One liner
Mountain Scape
set-comp
range
comprehension
len
1
One line 106 symbols
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
5
6 lines, commented
Mountain Scape
Tuple
typing.Tuple
List
typing.List
set
7
1
Slash-it
Palindromic Palindrome
lambda
13
1
8 lines proc
Radiation Search
set-comp
enumerate
pop
set
max
19
One line 113 symbols
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
math
20
2
One line proc
Weekend Counter
datetime.timedelta
timedelta
datetime
sum
range
1
4 vs 5 lines proc
Reversed Permutation Index
divmod
yield
pop
while
range
4 lines proc
Spaceship Landing Strip
all
max
in
list-comp
range
9 lines proc (commented)
Radiation Search
set-comp
enumerate
pop
set
max
Simple
Unlucky Days
calendar.weekday
weekday
calendar
sum
range
Rock
8 lines
Water Jars
add
pop
min
max
while
Shelter
10 lines: complex isn't complex
The Lantern Festival
set-comp
enumerate
not
while
if-comprehension
1
4
Binary masks, commented, 6 lines
Pattern Recognition
itertools.product
product
itertools
map
lambda
2
4
Binary hardcore aka z.join
Pattern Recognition
ljust
map
join
list-comp
range
2
2
18 lines Shoot'em'all
Fortress Cannons
itertools.product
product
set-comp
dict-comp
itertools
2
9 lines total
ADFGVX Cipher
fromkeys
isalnum
iter
divmod
next
3
3
all distances
Landing Site
typing.Set
Set
set-comp
collections.Counter
Counter
3
Too heavy
ADFGVX Cipher
ljust
rstrip
divmod
values
dict-comp
4
Less line but weird
Landing Site
typing.Set
Set
set-comp
filter
collections.Counter
4
1
Boring solution
Pattern Recognition
itertools.product
product
itertools
map
list-comp
7
2
6 lines, commented
Landing Site
set-comp
chr
ord
set
inline-if
7
2 functions, 3+1 lines
Halloween Monsters
collections.Counter
Counter
all
items
collections
7
12 lines
One line Drawing
None
not
or
inline-if
for
10
round and **
The Nearest Square Number
round
19
Right wall
The Lantern Festival
not
count
sum
while
and
2 vs 3 vs 5 lines
Seven Segment
set
lower
sum
comprehension
What is the last tests?
Completely Empty
TypeError
all
map
except
try
Codeship
10 lines proc
The Territory of Go
set-comp
dict-comp
enumerate
pop
set
1
14 lines
Behind 2048
iter
next
filter
any
zip
4
1
9 lines (2nd try)
Behind 2048
filter
any
zip
map
index
5
3
30 lines
Behind 2048
iter
next
filter
any
zip
5
1
Slightly optimized
Ugly Numbers
min
while
range
int
for
7
For test
Ugly Numbers
min
while
append
int
len
8
1
one line recursive with @lru_cache
Probably Dice
functools.lru_cache
lru_cache
decorator
functools
None
10
1
Dumb solution
Probably Dice
dict-comp
get
inline-if
in
range
15 lines
Eaten Go Stones
copy
dict-comp
upper
lower
count
Hermit
timedelta & weekday
Birthday Party
datetime.timedelta
timedelta
date
datetime.date
datetime
2
1
First
Backspace Apply
print
else
str
for
if
3
1
Continue quest
Unique Email Addresses
add
continue
replace
set
lower
5
Walrus one-liner
Unique Email Addresses
set-comp
replace
lower
split
list
6
sub f-string
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
f-string
7
merging, no re
Keywords Finder
find
max
lower
print
sorted
14
1
30 lines, no eval
Simplification
numpy.polynomial.Polynomial
Polynomial
mul
operator.mul
operator
2 solutions
Break Rings
map
min
set
len
26 ** idx
Excel Column Number
ord
enumerate
sum
print
comprehension
1
Watchtower
10 lines, commented
Boundary Blocks
difference_update
fromkeys
update
Tuple
typing.Tuple
2
2 lines proc, weird
DNA Common Sequence
set-comp
decorator
find
map
enumerate
2
3 lines proc (fast)
DNA Common Sequence
set-comp
decorator
find
map
enumerate
4
suppress
Compare Functions
contextlib.suppress
suppress
contextlib
with
Exception
16
1
5 lines proc but lru_cache
DNA Common Sequence
functools.lru_cache
lru_cache
set-comp
decorator
functools
1
Not On Map
Counter or not? (2 solutions)
Most Wanted Letter
filter
values
isalpha
set
max
13