26
Marcin_Ramotowski
5 17 39
3562/ 3945
Marcin Ramotowski
Last seen 6 months ago
Member for 3 years, 2 months, 23 days
Difficulty Normal
Missions (282) / Solutions (107)
Best solutions / Newest solutions
Electronic Station
Numpy power
Find Sequence
numpy.shape
shape
matrix
numpy.matrix
numpy.rot90
12
First
Similar Triangles
dist
math.dist
math.degrees
degrees
Tuple
Easy
All Upper II
isspace
upper
isdigit
bool
or
1
Scientific Expedition
Readable solution using numpy
The Hidden Word
numpy.array
array
numpy
as
map
3
3 lines in body
YAML. Simple Dict
dict
zip
isdigit
inline-if
sorted
3
Specialized functions
YAML. More Types
rfind
strip
dict
find
zip
Clear
Call to Home
List
typing.List
typing
in
list-comp
1
Easy to understand solution
Bird Language
while
in
elif
else
len
1
The shortest solution - only one additional line
Absolute Sorting
tuple
abs
lambda
sorted
list
8
Numpy
Cipher Map
numpy.rot90
rot90
numpy.array
array
numpy
My solution
Morse Clock
rstrip
f-string
map
enumerate
isdigit
1
O'Reilly
Short with using itertools
Lightbulb End Watching
itertools.zip_longest
zip_longest
Optional
typing.Optional
iter
One line sholution
Index Power
inline-if
list
int
len
2
Short - only 5 lines
Lightbulb Intro
iter
datetime.datetime
datetime
List
typing.List
1
Short
Compress List
typing.Iterable
Iterable
typing
append
range
Help regex
Flatten a List
re.search
search
re
replace
lambda
My clear solution
How Deep
AttributeError
extend
pass
except
try
Short with using chain
Xs and Os Referee
chain
itertools.chain
itertools
List
typing.List
1
Very short and easy
Count Inversions
enumerate
for
if
2
Only 1 line - the shortest solution
Majority
lambda
count
inline-if
False
True
1
Good but too long and memory consuming
Sort Except Zero
remove
sort
index
typing.Iterable
Iterable
Incinerator
Simple checking attributes
The Weapons
class
itertools.zip_longest
zip_longest
property
super
10
1
Simple
The Defenders
class
property
super
decorator
all
19
First
Microwave Ovens
ABC
abc.ABC
abc.abstractmethod
abstractmethod
abc
Standard
Voice TV Control
class
type
index
None
inline-if
Easy
3 Chefs
ABC
abc.ABC
abc
class
f-string
2
My solution
Straight Fight
class
itertools.zip_longest
zip_longest
property
super
Simple and readable
Army Units
class
f-string
None
str
Short
Capital City
class
object
super
None
not
Simple solution
Dialogues
class
object
property
decorator
f-string
Simple
Party Invitations
class
remove
None
inline-if
append
Simple
Text Editor
class
f-string
None
append
if
Simple
The Vampires
class
property
super
decorator
all
First
The Warriors
class
property
super
decorator
all
Cycle
Multicolored Lamp
cycle
itertools.cycle
class
next
itertools
Simple
Army Battles
class
property
super
decorator
all
Chain
Friends
class
from_iterable
itertools.from_iterable
chain
itertools.chain
Mine
Functions in dict
Aggregate by Operation
get
dict
tuple
continue
pop
1
numpy.linalg.det
Determinant
numpy.det
det
numpy.linalg
linalg
numpy
Readable solution
The Einstein Problem-Lite
from_iterable
itertools.from_iterable
chain
itertools.chain
dict-comp
Short lambda
Achilles and the Tortoise
lambda
1
One line
Cut Sentence
isspace
rfind
find
lambda
or
1
Modified sorted
Bigger Together
List
typing.List
map
min
max
First
Currency Style
re.search
search
continue
re
None
Short lambda
Binary Count
bin
lambda
count
Easy
Caesar Cipher (decryptor)
rstrip
chr
ord
isalpha
elif
1
Short one line
Best Stock
items
max
lambda
One line
Moore Neighbourhood
abs
lambda
count
if-comprehension
and
Ice Base
Short and clear
Largest Rectangle in a Histogram
max
append
range
else
for
Short with fractions
Oil Pie
Fraction
fractions.Fraction
fractions
abs
sum
fractions
Oil Pie
Fraction
fractions.Fraction
fractions
abs
sum
Simple
Reverse Roman Numerals
replace
count
for
if
1
Easy to understand solution
Roman Numerals
reverse
while
in
and
list
Clear
Largest Rectangle in a Histogram
max
in
append
range
else
Alice In Wonderland
Matrix
Multiplication Table
numpy.zeros
zeros
numpy
bin
map
6
Easy
Middle Characters
inline-if
len
10
Short with numpy
Zigzag Array
numpy.zeros
zeros
iter
next
numpy
13
1
2 short lambdas
When is Friday?
datetime.strptime
strptime
as
datetime.datetime
datetime
20
Functions
YAML. List and Comments
rfind
strip
dict
find
zip
Items collector
Tree Walker
type
extend
values
all
dict
Short
The Fastest Horse
dict-comp
items
index
min
set
2 lines -> lambda with zip and chain.from_iterable
Swap Nodes
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
Very readable
IP Network: Route Summarization
f-string
bin
break
set
while
GitHub
Basic math
Shooting Range
dist
math.dist
round
math
inline-if
My clear solution
Create Intervals
zip
sort
append
range
list
Simple way
Cookies
find
inline-if
in
str
len
Short - only 2 lines in body
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
Simple math
Evenly Spaced Trees
math.gcd
gcd
List
typing.List
math
My solution
Broken Clock
isspace
datetime.timedelta
timedelta
datetime.datetime
round
Easy to understand solution
Power Supply
from_iterable
itertools.from_iterable
chain
itertools.chain
set-comp
Clear magic
Solution for Anything
class
lambda
True
Very clear
The Most Frequent Weekdays
date
datetime.date
datetime
inline-if
sorted
Dropbox
One line
Worth of Words
max
lambda
sum
comprehension
Simple and readable
Text Formatting
enumerate
join
while
elif
list-comp
1
fractions
Friendly Number
Fraction
fractions.Fraction
fractions
round
index
Very short and clear
The Longest Palindromic
max
range
str
len
for
PyCon TW
BFS with numpy
Calculate Islands
numpy.where
where
numpy.array
array
numpy
Short and clear
Ryerson Letter Grade
splitlines
reversed
dict
inline-if
list-comp
Short
Double Substring
count
range
int
str
len
with class Computer
Network Attack
class
property
decorator
f-string
min
Short and clear
Simple Areas
math.pi
pi
math.sqrt
sqrt
math
Simple
Digit Stack
pop
in
elif
append
int
Simple regex
House Password
re.search
search
re
bool
False
Storage
Short with numpy
Weak Point
numpy.array
array
numpy
index
min
3
1
First
Square Spiral
cycle
itertools.cycle
numpy.zeros
zeros
next
4
Numpy power
Playfair Cipher
nonzero
numpy.nonzero
numpy.zeros
zeros
itertools.zip_longest
5
Numpy power
English to Braille Translator
numpy.zeros
zeros
zfill
numpy
bin
8
Haversine formula
Earth Distances
math.cos
cos
math.asin
asin
math.pi
My solution
Restricted Prime
reverse
yield
map
break
while
Simple
Group Equal consecutive
None
append
list
else
for
Very short and clear
Skew-symmetric Matrix
numpy.array
array
numpy
all
Easy
Word Pattern
bin
isalpha
bool
inline-if
int
Readable solution
Moria Doors
punctuation
string.punctuation
string
round
enumerate
My solution with generator
Saw the Stick
yield
while
and
range
list
Blizzard
Matrix
Rectangles Union
numpy.zeros
zeros
from_iterable
itertools.from_iterable
chain
4
numpy + modified bfs
Safe Coasts
numpy.where
where
numpy.array
array
numpy
7
With using histograms
Spaceship Landing Strip
break
max
in
append
range
10
BFS with numpy
Radiation Search
numpy.where
where
from_iterable
itertools.from_iterable
numpy.array
10
Short and easy
The First Working Day
datetime.timedelta
timedelta
date
datetime.date
datetime
Short and clear
Reversed Permutation Index
math.factorial
factorial
remove
math
typing.Iterable
Very short and clear
Permutation Index
Tuple
typing.Tuple
remove
sort
typing
Very short and easy
Permutation Index
math.factorial
factorial
Tuple
typing.Tuple
remove
Dynamic
Stair Steps
max
range
int
len
for
Mathematic
The Angles of a Triangle
math.degrees
degrees
math.acos
acos
List
1
Shelter
Simple math
The Nearest Square Number
math.sqrt
sqrt
math
min
abs
1
Fibo Generator
Ghosts Age
next
yield
while
True
else
Hermit
Easy
The Good Radix
dict-comp
chr
max
inline-if
in