32
ogoro
7 32 42
5888/ 6195
Awesome Team Mykhailo Ohorodnikov https://ogoro.me
Last seen 1 year ago
Member for 3 years, 8 months, 10 days
Difficulty Normal
Python developer with telecom background - Kyiv, Ukraine

Missions (316) / Solutions (157)
Best solutions / Newest solutions
Electronic Station
translate + re.match
Unix Match. Part 1
translate
match
re.match
r-string
ord
No queue - 2 generators
Can You Pass?
next
reversed
yield
pass
add
O'Reilly
everything is illuminated
Lightbulb More
datetime.min
datetime.max
itertools.zip_longest
zip_longest
typing.Union
6
groupby
Multiple Lightbulbs
datetime.min
datetime.max
itertools.zip_longest
zip_longest
typing.Union
8
2
timedelta.max
Lightbulb Operating
datetime.min
datetime.max
itertools.zip_longest
zip_longest
typing.Union
17
context manager
Cipher Crossword
contextlib.contextmanager
contextmanager
contextlib
finally
with
18
2
permutations
Loading Cargo
itertools.permutations
permutations
float
itertools
min
2
recursive
How Deep
isinstance
typing.Iterable
Iterable
max
typing
2
datetime.max
Lightbulb End Watching
datetime.max
Optional
typing.Optional
iter
datetime.datetime
yield
Compress List
yield
typing.Iterable
Iterable
typing
print
1
if
Lightbulb Start Watching
Optional
typing.Optional
iter
datetime.datetime
datetime
starmap
Lightbulb Intro
itertools.starmap
starmap
iter
datetime.datetime
itertools
comparator with callback
Count Inversions
cmp_to_key
functools.cmp_to_key
functools.partial
partial
combinations
comparator + recursion
Determine the Order
cmp_to_key
functools.cmp_to_key
functools.partial
partial
set-comp
set of zero indexes
Sort Except Zero
set-comp
insert
enumerate
typing.Iterable
Iterable
recursive
The Flat Dictionary
isinstance
dict
items
print
elif
counter
Frequency Sorting
collections.Counter
Counter
collections
lambda
print
2
comprehension
Xs and Os Referee
set-comp
reversed
all
any
tuple
2
sorted
Median of Three
typing.Iterable
Iterable
typing
print
sorted
datetime
Time Converter (12h to 24h)
datetime.strptime
strptime
datetime.datetime
upper
datetime
1
recursive generator
Flatten a List
yield
isinstance
typing.Iterable
Iterable
typing
Incinerator
single dispatch method
Voice TV Control
functools.singledispatchmethod
singledispatchmethod
class
decorator
functools
2
2
scanner with code dictionary
Hacker Language
Scanner
re.Scanner
class
staticmethod
decorator
3
3
decorator with parameter
Geometry Figures
class
getattr
staticmethod
math.pi
pi
7
lord of peace
The Warlords
contextlib.suppress
suppress
contextlib
with
class
8
1
army to warrior init
Army Units
class
getattr
f-string
print
9
finally append
Multicolored Lamp
finally
class
pop
try
append
13
tunica illa contexta per totum
Text Editor
class
copy
f-string
and
20
2
vars from locals
Building Base
vars
locals
class
update
type
map int split
Every Person is Unique
class
f-string
map
replace
and
2
set comprehension
Friends
class
discard
frozenset
set-comp
add
1
RookieGhost
The Weapons
contextlib.suppress
suppress
contextlib
with
class
dict comprehension
Building Base
class
f-string
dict-comp
zip
split
lgbtqia+
Straight Fight
contextlib.suppress
suppress
contextlib
with
class
scanner
Hacker Language
Scanner
re.Scanner
class
staticmethod
decorator
1
hit
The Defenders
class
staticmethod
property
super
decorator
napoleon heal
The Healers
contextlib.suppress
suppress
contextlib
with
class
vampirate
The Lancers
class
staticmethod
raise
property
super
strategy
Geometry Figures
class
staticmethod
math.pi
pi
type
inheritance
Army Units
class
super
type
f-string
pass
anti-pattern
Capital City
class
super
type
None
if
microwave time patterns
Microwave Ovens
contextlib.suppress
suppress
contextlib
datetime.time
with
connect_robot = connect_human
Dialogues
class
staticmethod
decorator
f-string
pass
boolean slice
Voice TV Control
class
raise
isinstance
ValueError
in
pop
Army Battles
class
property
super
decorator
pop
pub sub
Party Invitations
class
f-string
add
remove
set
italian juice
3 Chefs
class
f-string
in the shadows
The Vampires
class
staticmethod
property
super
decorator
while true
The Warriors
class
property
super
decorator
not
2
Mine
First
Caesar Cipher (decryptor)
isspace
chr
ord
isalpha
print
GitHub
perimeters
Paper Dice
strip
any
zip
not
or
1
10
perimeters 1-liner)
Paper Dice
strip
any
zip
not
lambda
2
1
shoelace
Area of a Convex Polygon
itertools.starmap
starmap
mul
operator.mul
operator
6
1
based on solution by ylliw
Power Plants
Dict
typing.Dict
typing.Set
Set
collections.namedtuple
10
recursive
The Cheapest Flight
set-comp
float
List
typing.List
continue
directories
Simplify Unix Path
all
enumerate
not
print
join
1
zip
The Highest Building
zip
enumerate
max
lambda
sum
1
vertices
Searchlights
math.cos
cos
from_iterable
itertools.from_iterable
math.sin
recursive
Power Supply
set-comp
items
tuple
print
elif
1
split 1-liner
Cookies
lambda
if-comprehension
list-comp
split
comprehension
reversed
Barcode Reader
translate
startswith
raise
reversed
insert
chain from iterable
Expand Intervals
from_iterable
itertools.from_iterable
chain
itertools.chain
itertools
1
minimax + alpha beta
Xs and Os Champion
copy.deepcopy
deepcopy
itertools.product
product
collections.defaultdict
re findall
Long Repeat Inside
findall
re.findall
r-string
re
max
pairwise generator
Create Intervals
itertools.tee
tee
next
itertools
zip
sub-triangles
Area of a Convex Polygon
itertools.tee
tee
chain
itertools.chain
next
gcd
Evenly Spaced Trees
combinations
itertools.combinations
itertools
List
typing.List
line coefficients
Shooting Range
None
not
print
else
int
2
datetime
Broken Clock
datetime.strptime
strptime
datetime.datetime
datetime
map
range union
Painting Wall
combinations
itertools.combinations
itertools
tuple
min
filter
Merge Intervals
filter
min
None
max
print
datetime
The Most Frequent Weekdays
datetime.timedelta
timedelta
yield
collections.Counter
Counter
split
Cookies
print
split
for
if
DFS + generator
Open Labyrinth
StopIteration
collections.deque
deque
next
yield
4
overload
Solution for Anything
class
staticmethod
decorator
print
True
endswith
The End of Other
endswith
any
print
comprehension
Dropbox
reduce
URL Normalization
re.subn
subn
rf-string
functools.partial
partial
10
Cramer with angle shifts
Hubspot Amulet
itertools.permutations
permutations
pow
copy
all
10
indexes
On the same path
typing.Union
Union
update
Tuple
typing.Tuple
13
2
Cramer EGCD
Hubspot Amulet
pow
copy
f-string
zip
map
16
2
combinations
Place Queens
itertools.product
product
combinations
itertools.combinations
set-comp
17
sets
Nonogram Row
and_
operator.and_
collections.namedtuple
namedtuple
groupby
dict
Simple Hashlib
hashlib.sha1
hashlib.sha224
hashlib.sha256
hashlib.sha384
hashlib.sha512
1
re sub
URL Normalization
re.subn
subn
rf-string
re.sub
sub
next generator
The Longest Palindromic
next
if-comprehension
range
comprehension
len
int to base
Friendly Number
itertools.zip_longest
zip_longest
divmod
reversed
is
join join
Text Formatting
math.ceil
ceil
math
map
enumerate
wiki
Humpty Dumpty Form
math.log
log
math.asin
asin
math.pi
1
while
The Longest Palindromic
enumerate
print
while
and
len
sub-determinants
Three Points Circle
rstrip
pow
isinstance
f-string
zip
key
Worth of Words
max
sum
print
comprehension
doll parts
Speech Module
pow
extend
print
join
elif
1
cache info
Numbers Factory
functools.lru_cache
lru_cache
divmod
decorator
functools
2
PyCon TW
DFS + maze merge
Dark Labyrinth
collections.deque
deque
itertools.product
product
next
DFS + nearest box
Express Delivery
collections.deque
deque
reversed
yield
pass
Maya
heap on complex plane
Roll the cube
hash
complex
class
heappush
heapq.heappush
1
1
transforms
Roll the cube
hash
complex
itertools.starmap
starmap
class
1
inplace even elements
Roll the cube
hash
complex
itertools.starmap
starmap
class
2
board heap with complex paths
House of Mirrors
cmath.exp
cmath.pi
cmath
exp
hash
8
nonogram style
Find Rectangles
complex
class
copy.deepcopy
deepcopy
property
11
HubSpot
set intersection clusters
City's Happiness
from_iterable
itertools.from_iterable
chain
itertools.chain
pow
Blizzard
DFS + minimum variants
Sudoku Solver
StopIteration
collections.deque
deque
raise
f-string
5
Rock
Combinations + priority queue
River Crossing
heappush
heapq.heappush
heappop
heapq.heappop
heapq
2
2
DFS + flood fill inner contours
Hexagonal Islands
typing.Set
Set
collections.deque
deque
chr
sorted distances + intersection areas
Black Holes
ZeroDivisionError
math.acos
acos
math.pi
pi
BFS
Water Jars
collections.deque
deque
collections
continue
min
dict + groupby
Web Log Sessions
itertools.tee
tee
collections.namedtuple
namedtuple
splitlines
DFS + generator
Berserk Rook
collections.deque
deque
yield
collections
ord
Shelter
sets + recursion
Landing Site
typing.Set
Set
set-comp
values
chr
4
complex locus set
Four To The Floor
math.e
e
complex
math.pi
pi
6
complex locus
Four To The Floor
math.e
e
complex
math.pi
pi
7
2
Direction product + pattern propagation + BFS distance + LRU cache
Fortress Cannons
functools.lru_cache
lru_cache
itertools.product
product
decorator
15
heap + minimum moves priority
Delivery Drone
heappush
heapq.heappush
heappop
heapq.heappop
heapq
manhattan heap + permutations + cache
Climbing Route
functools.wraps
wraps
heappush
heapq.heappush
heappop
flood fill
The Lantern Festival
itertools.product
product
add
itertools
pop
islice + zip + wrap
ADFGVX Cipher
textwrap.wrap
wrap
islice
itertools.islice
textwrap
Combinations with replacement + product
Seven Segment
combinations_with_replacement
itertools.combinations_with_replacement
frozenset
itertools.product
product
Codeship
recursive BFS + for else
The 88th Puzzle
yield
tuple
continue
enumerate
break
4
2
also RMS heap
8 Puzzle
heappush
heapq.heappush
heappop
heapq.heappop
heapq
8
DFS with uniform reshuffle
Magic Domino
random.sample
sample
combinations_with_replacement
itertools.combinations_with_replacement
itertools.zip_longest
10
antidiagonal
Behind 2048
itertools.tee
tee
itertools.zip_longest
zip_longest
iter
13
deltas
Magic with 5 cards
set-comp
insert
tuple
zip
map
A* complex escape
Snake Lite
complex
heappush
heapq.heappush
heappop
heapq.heappop
complex sets
Eaten Go Stones
complex
collections.defaultdict
defaultdict
set-comp
dict-comp
surrounding
The Territory of Go
complex
collections.defaultdict
defaultdict
set-comp
yield
RMS heap
8 Puzzle
heappush
heapq.heappush
heappop
heapq.heappop
heapq
BFS queue + for else
The 88th Puzzle
collections.deque
deque
yield
tuple
collections
1
normalized shift
Behind 2048
itertools.tee
tee
itertools.zip_longest
zip_longest
iter
1
hand patterns
Texas Referee
combinations
itertools.combinations
yield
extend
items
simple complex sets
Minesweeper
complex
raise
itertools.product
product
collections.defaultdict
filter product
Unfair Dice
itertools.product
product
filter
itertools
min
complex connections + DFS
Bats Bunker
cmath.tau
tau
cmath.phase
phase
cmath.pi
group cache
Probably Dice
combinations_with_replacement
itertools.combinations_with_replacement
groupby
itertools.groupby
itertools.permutations
1
edge generator
The Square Chest
itertools.tee
tee
from_iterable
itertools.from_iterable
chain
stack
Pearls in the Box
float
round
continue
pop
replace
Hermit
cyclic quadrilateral
Strawberry Fields
math.acos
acos
math.pi
pi
round
2
2
reduce intersection
Stacking Cubes
set-comp
functools.reduce
reduce
functools
dict-comp
2
stack
Stacking Cubes
set-comp
dict-comp
tuple
enumerate
pop
9
complex set intersections
Ore In The Desert
complex
itertools.starmap
starmap
itertools.product
product
12
imported
Reverse Engineer
randint
random.randint
ZeroDivisionError
random
Fraction
16
fraction divmod
Fractions Addition
Fraction
fractions.Fraction
fractions
divmod
filter
18
difference metric
Colder-Warmer
complex
set-comp
map
min
None
scan reduce
Simplification
Scanner
re.Scanner
operator.sub
operator.add
functools.partial
BFS
Anagrams By Stacks
hash
itertools.product
product
copy
filter
recursive
Network Loops
index
None
max
not
if-comprehension
code distance
Mono Captcha
operator.sub
itertools.starmap
starmap
operator
reversed
loops
Count Consecutive Summers
break
sum
print
range
for
all combinations
Break Rings
combinations
itertools.combinations
all
itertools
set
Watchtower
or waterfall and closures
Compare Functions
is
map
None
except
try
9
recursive closure
Compare Functions
is
map
None
except
try
10
flood fill
Boundary Blocks
itertools.product
product
Tuple
typing.Tuple
set-comp
17
permutation intersections
Bulls and Cows
eq
operator.eq
itertools.starmap
starmap
itertools.permutations
Picky bride
Bag of Santa Claus
math.e
e
math
True
int
pattern model + BFS
Bacteria Colonies
collections.namedtuple
namedtuple
reversed
isinstance
f-string
complex rotation
Convex Hull
cmath.e
cmath.tau
tau
cmath.phase
phase
suppress
Compare Functions
contextlib.suppress
suppress
contextlib
with
Exception