34
ciel
13 28 49
6512/ 7195
Last seen 1 year ago
Member for 10 years, 3 months, 4 days
Difficulty Normal
I'm a Japanese, not French nor [snip]. I'm too much a competitive programmer rather than system engineer; my coding motto is to be artistic.

Missions (221) / Solutions (281)
Best solutions / Newest solutions
Initiation
First
All the Same
all
lambda
comprehension
First
The Most Frequent
collections.Counter
Counter
collections
lambda
First
Easy Unpack
Home
First
Between Markers
find
else
len
if
First
Second Index
find
None
if
First
Popular Words
re.sub
sub
collections.Counter
Counter
dict-comp
First
Bigger Price
lambda
sorted
1
Second
Non-unique Elements
lambda
count
if-comprehension
list-comp
comprehension
4
Functional
Days Between
operator.sub
itertools.starmap
starmap
operator
sub
1
Functional (old)
Days Between
operator.sub
operator
sub
functools.reduce
reduce
4
First
Right to Left
replace
lambda
join
First
Pawn Brotherhood
intersection
chr
add
ord
set
Second
Even the Last
lambda
inline-if
sum
len
First
Three Words
islower
lower
False
True
split
First
Even the Last
enumerate
not
len
for
if
ciel
Non-unique Elements
count
append
for
if
1
Electronic Station
First
Inside Block
complex
lambda
False
and
True
5
Functional
Boolean Algebra
eq
operator.eq
and_
operator.and_
operator.xor
2
First
Can You Pass?
map
lambda
or
False
and
14
First
Mathematically Lucky Tickets
Fraction
fractions.Fraction
fractions
yield
all
First
Digits Multiplication
inline-if
int
str
for
First
Find Sequence
reversed
all
False
True
range
First
Brackets
pop
or
in
elif
False
Scientific Expedition
one liner without quotes
Pangram
ascii_uppercase
string.ascii_uppercase
string
upper
set
1
First
Secret Message
isupper
lambda
join
if-comprehension
comprehension
1
brainf**k_nonlocal
I Love Python!
pass
chr
lambda
while
elif
3
Brainf**k
I Love Python!
class
pass
chr
lambda
while
3
5
rot13
I Love Python!
lambda
10
1
base64
I Love Python!
b64decode
base64.b64decode
base64
nonum_str
I Love Python!
chr
str
len
1
First
Letter Queue
pop
join
elif
append
split
2
recursive4
Bird Language
lambda
and
1
5
recursive3
Bird Language
find
lambda
and
int
3
3
recursive2
Bird Language
find
map
lambda
join
and
3
recursive
Bird Language
find
map
lambda
inline-if
join
1
First
Cipher Map
range
len
for
if
defaultdict
Call to Home
methodcaller
operator.methodcaller
collections.defaultdict
defaultdict
operator
7
12
really_one_liner_py2and3
Morse Clock
translate
format
lambda
inline-if
join
1
First
Remove Accents
normalize
unicodedata.normalize
unicodedata
ord
lambda
17
4
short
Morse Clock
maketrans
string.maketrans
translate
string
format
4
2
Second
Absolute Sorting
abs
lambda
sorted
First
Absolute Sorting
abs
lambda
sorted
4
First
Common Words
any
sorted
join
append
split
First
The Hidden Word
re.sub
sub
pass
all
IndexError
First
Striped Words
re.sub
sub
re.search
search
r-string
1
First
Morse Clock
list-comp
split
comprehension
int
First
The Most Wanted Letter
collections.Counter
Counter
islower
collections
break
O'Reilly
merge_sort
Count Inversions
while
and
range
list
else
1
4
First
Index Power
IndexError
except
try
double_check2
Determine the Order
combinations
itertools.combinations
itertools
continue
index
double_check
Determine the Order
combinations
itertools.combinations
itertools
index
None
recursive
Flatten a List
isinstance
functools.reduce
reduce
functools
lambda
translate_py2
Flatten a List
translate
eval
None
lambda
str
iterative_while
Flatten a List
TypeError
except
try
while
append
1
translate_py3
Flatten a List
translate
eval
lambda
str
2
First
Flatten a List
eval
replace
lambda
str
1
6
First
Parse Array
raise
ValueError
pass
continue
pop
5
First
Cipher Crossword
Exception
itertools.permutations
permutations
raise
pass
First
Loading Cargo
enumerate
min
abs
sum
range
Second
Xs and Os Referee
lambda
inline-if
join
and
First
Xs and Os Referee
join
and
if
ciel
Median
sorted
len
if
Incinerator
First
Friends
class
frozenset
update
set-comp
add
First
Building Base
class
format
Mine
First
Best Stock
items
max
lambda
First
Domino Chain
collections.defaultdict
defaultdict
add
collections
map
3
Cool sorting
Bigger Together
cmp_to_key
functools.cmp_to_key
functools
map
lambda
1
First
Cut Sentence
rindex
ValueError
except
try
while
Direction from xy-coor
Find Enemy
math.atan2
atan2
math.pi
pi
math.sqrt
3
First
What Is Wrong With This Family?
pop
None
break
or
while
7
Shortest
Determinant
round
lambda
First
Currency Style
re.split
re.sub
sub
r-string
pop
6
pre_calculation
The Einstein Problem-Lite
globals
itertools.product
product
next
all
1
12
First
Color Map
collections.defaultdict
defaultdict
next
yield
all
5
Functional
Moore Neighbourhood
lambda
sum
if-comprehension
range
comprehension
12
First
The Greatest Common Divisor
fractions.gcd
gcd
fractions
functools.reduce
reduce
First
Achilles and the Tortoise
lambda
1
9
Second
Determinant
lambda
inline-if
sum
if-comprehension
list-comp
5
First
Determinant
if-comprehension
elif
list-comp
range
comprehension
First
Binary Count
bin
lambda
count
3
First
Fizz Buzz
lambda
inline-if
str
First
Disposable Teleports
None
set
sorted
join
and
Ice Base
First
Identify Block
None
abs
sorted
in
and
7
First
Long Repeat
not
range
else
len
for
First
Reverse Roman Numerals
or
inline-if
range
len
for
1
First
Largest Rectangle in a Histogram
pop
while
and
append
list-comp
8
First
Making Change
is
None
or
and
range
1
First
Clock Angle
min
abs
list-comp
split
comprehension
19
Second
The Most Numbers
min
max
lambda
inline-if
8
1
First
Monkey Typing
find
lower
lambda
sum
comprehension
1
First
Oil Pie
Fraction
fractions.Fraction
fractions
map
abs
14
union-find-dict
How to Find Friends
class
not
inline-if
False
True
union-find
How to Find Friends
class
not
inline-if
in
False
1
warshall-floyd
How to Find Friends
not
in
list-comp
split
range
9
Second
Feed Pigeons
itertools.count
itertools
max
count
for
First
Counting Tiles
in
and
range
else
int
First
The Most Numbers
min
max
lambda
inline-if
len
7
8
Second
Roman Numerals
lambda
2
12
First
Feed Pigeons
max
range
for
if
First
Roman Numerals
Alice In Wonderland
First
Long Non Repeat
collections.defaultdict
defaultdict
collections
while
int
10
2
First
IP Network: Route Summarization
reversed
all
map
enumerate
sum
15
Second
Multiplication Table
inline-if
while
range
for
15
First
The Shortest Knight's Path
ord
abs
lambda
and
if
First
Digits Doublets
reversed
pop
None
break
while
First
Multiplication Table
inline-if
while
range
for
First
Transposed Matrix
zip
list-comp
list
comprehension
3
2
GitHub
First
Long Repeat Inside
bisect.bisect_left
bisect_left
bisect
class
object
4
First
Merge Intervals
bisect.bisect_left
bisect_left
bisect
insert
pop
7
First
Create Intervals
not
sorted
append
range
list
19
First
Simplify Unix Path
pass
pop
or
inline-if
join
4
scipy dijkstra
Power Supply
items
zip
enumerate
if-comprehension
append
1
1
Without datetime module
The Most Frequent Weekdays
sorted
False
append
True
list-comp
6
3
God Class
Solution for Anything
class
True
First
Broken Clock
float
lambda
elif
list-comp
split
8
First
Xs and Os Champion
random.choice
choice
random
zip
continue
5
1
First
Shooting Range
complex
round
abs
lambda
list-comp
12
Second
Painting Wall
bisect.bisect_left
bisect_left
bisect
insert
pop
4
1
BFS
Open Labyrinth
pop
None
break
while
and
author's
Painting Wall
bisect.bisect_left
bisect_left
bisect
insert
continue
10
4
First
The End of Other
endswith
False
and
True
range
First
Area of a Convex Polygon
abs
lambda
range
else
len
First
Open Labyrinth
None
and
len
if
Dropbox
First
The Longest Palindromic
range
len
for
if
7
Euler's gift
The Best Number Ever
math.e
e
math.pi
pi
math
1
42, the ultimate answer
The Best Number Ever
class
pass
chr
lambda
while
1
Null
The Best Number Ever
lambda
First
Place Queens
sys.version_info
version_info
sys
rstrip
chr
10
kabopan_py2test2
Simple Hashlib
slice
globals
Decimal
decimal.Decimal
decimal
14
1
kabopan_py3test2
Simple Hashlib
slice
globals
Decimal
decimal.Decimal
decimal
11
1
kabopan_retest_py2
Simple Hashlib
slice
globals
Decimal
decimal.Decimal
decimal
kabopan_py2test_ok
Simple Hashlib
slice
globals
Decimal
decimal.Decimal
decimal
kabopan_py2test
Simple Hashlib
slice
globals
bytes
Decimal
decimal.Decimal
19
1
kabopan_py3test
Simple Hashlib
slice
globals
bytes
Decimal
decimal.Decimal
18
one-liner
Simple Hashlib
lambda
9
kabopan
Simple Hashlib
slice
globals
Decimal
decimal.Decimal
decimal
14
2
Second
Friendly Number
float
abs
while
and
int
3
4
First
Friendly Number
float
abs
inline-if
while
and
6
1
Second
Three Points Circle
math.hypot
hypot
re.sub
sub
float
Second
Numbers Factory
reversed
join
while
append
range
Second
Hubspot Amulet
Fraction
fractions.Fraction
fractions
any
zip
First
Hubspot Amulet
Fraction
fractions.Fraction
fractions
all
any
First
Numbers Factory
functools.reduce
reduce
functools
lambda
list-comp
First
Humpty Dumpty Form
math.atanh
atanh
math.asin
asin
math.pi
First
Speech Module
and
else
if
PyCon TW
O(nlogn)
Double Substring
bisect.bisect_left
bisect_left
bisect
functools.partial
partial
11
yield fun
Unfair Districts
chain
itertools.chain
update
yield
chr
1
First
Dark Labyrinth
zip
map
pop
index
None
2
First
Robot Sort
join
append
range
list
str
12
First
Digit Stack
pop
elif
append
split
int
First
Network Attack
values
pop
max
or
while
12
heron
Simple Areas
math.pi
pi
math.sqrt
sqrt
math
First
Golden Pyramid
max
list-comp
range
list
comprehension
proper_usual
How Much Gold
Fraction
fractions.Fraction
fractions
items
None
7
2
kinda_usual
How Much Gold
random.shuffle
shuffle
random
Fraction
fractions.Fraction
4
4
First
Express Delivery
itertools.permutations
permutations
itertools
pop
min
First
Building Visibility
any
max
sum
list-comp
range
First
How Much Gold
items
lambda
inline-if
sum
in
1
3
Second
House Password
islower
any
isupper
isdigit
lambda
First
Calculate Islands
or
sorted
append
range
len
First
House Password
islower
isupper
isdigit
False
and
Storage
First
Hexagon Spiral
None
abs
max
lambda
while
3
First
Forgetful Prisoner
not
range
for
if
2
1
First
English to Braille Translator
zfill
dict-comp
islower
bin
ord
8
First
Earth Distances
math.cos
cos
math.sin
sin
translate
10
First
Moria Doors
union
collections.defaultdict
defaultdict
intersection
reversed
10
First
Playfair Cipher
isalnum
yield
None
lower
join
8
1
Base64
Exec Quine
b64decode
base64.b64decode
base64
chr
replace
5
1
First
Mind Switcher
add
index
set
while
append
4
2
prebuilt_dict
Battle Dice
collections.defaultdict
defaultdict
items
collections
max
7
First
Weak Point
float
sum
range
comprehension
len
1
First
Square Spiral
None
abs
lambda
while
elif
14
shorter
Word Pattern
isalpha
lambda
inline-if
False
len
20
short
Word Pattern
getattr
lambda
inline-if
False
len
19
getattr
Word Pattern
getattr
StopIteration
next
reversed
except
methodcaller
Word Pattern
StopIteration
next
reversed
except
try
First
Haunted House
iter
pop
None
break
while
3
BFS_all
Digging a Canal
pop
min
or
while
and
First
The Rows of Cakes
complex
combinations
itertools.combinations
itertools
None
First
Saw the Stick
while
list-comp
range
comprehension
if
First
Restricted Prime
enumerate
break
not
False
and
First
Skew-symmetric Matrix
zip
False
True
list-comp
range
HubSpot
union_find
New Cities
class
set
and
comprehension
len
3
4
union_find
Node Disconnected Users
class
set
in
and
comprehension
Third
Restricted Sum
pop
not
lambda
inline-if
3
gauss
Expected Dice
Fraction
fractions.Fraction
fractions
reversed
float
1
monte-carlo
Expected Dice
randint
random.randint
random
sum
print
1
deterministic
Expected Dice
reversed
sum
list-comp
range
comprehension
2
5
First
Repeating Decimals
all
lambda
while
and
True
7
First
Auto Painting
min
join
range
comprehension
Third
The Hamming Distance
while
1
Second
The Hamming Distance
lambda
inline-if
17
First
The Hamming Distance
range
for
if
2
First
Number Base
ValueError
except
try
int
2
7
Second
Restricted Sum
lambda
inline-if
len
3
First
Restricted Sum
len
if
1
21
Blizzard
First
String Conversion
None
inline-if
elif
list-comp
range
10
Without datetime
Unlucky Days
lambda
sum
range
comprehension
if
2
8
First
Safe Coasts
any
tuple
map
pop
join
5
1
recursive_py2
Min and Max
StopIteration
TypeError
iter
next
get
builtins
Min and Max
isinstance
dict
else
if
2
5
recursive
Min and Max
StopIteration
TypeError
iter
next
get
Py27
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
Second
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
First
Sudoku Solver
None
False
and
True
range
First
Palindromic Palindrome
lambda
First
Stair Steps
max
range
len
for
10
First
Radiation Search
max
or
append
range
len
First
Weekend Counter
datetime.timedelta
timedelta
datetime
while
if
First
Spaceship Landing Strip
min
max
or
list-comp
range
First
The Angles of a Triangle
math.acos
acos
math.pi
pi
round
Rock
First
Most Efficient Cutting
itertools.permutations
permutations
itertools
min
comprehension
3
First
Black Holes
math.hypot
hypot
combinations
itertools.combinations
math.acos
3
First
Parity Bit Generator
chr
bin
not
lambda
count
monte carlo
Family Gifts
random.shuffle
shuffle
random
add
break
2
1
First
Life Counter
add
set
or
sum
in
5
First
Chicken Hunt
dict
items
enumerate
pop
min
4
First
Crossword Solver
random.shuffle
shuffle
random
collections.defaultdict
defaultdict
3
single_statement
Berserk Rook
ValueError
any
except
try
max
1
First
Berserk Rook
any
max
not
lambda
or
6
1
binary-search
Super Root
while
else
if
20
First
Web Log Sessions
datetime.timedelta
timedelta
datetime.datetime
items
datetime
19
First
Water Jars
reversed
pop
min
None
break
First
CheckSum
re.sub
sub
functools.reduce
reduce
functools
Shelter
First
Completely Empty
collections.Iterable
isinstance
all
collections
Iterable
5
Dijkstra and bitDP
Climbing Route
heappush
heapq.heappush
heappop
heapq.heappop
heapq
1
First
AMSCO Cipher
zip
inline-if
sorted
join
while
9
1
First
ADFGVX Cipher
isalnum
yield
zip
enumerate
index
5
1
First
One line Drawing
collections.defaultdict
defaultdict
all
collections
None
6
First
The Lantern Festival
class
add
index
break
set
4
Second
Ghosts Age
enumerate
inline-if
in
append
range
First
Pattern Recognition
all
range
comprehension
len
for
First
Ghosts Age
enumerate
inline-if
in
append
range
Codeship
First
Texas Referee
groupby
itertools.groupby
combinations
itertools.combinations
all
4
First
The 88th Puzzle
tuple
continue
pop
break
while
5
First
Magic Domino
rlib
rpython
rpython.rlib.rrandom
rpython.rlib.rrandom.rlib
Random
3
2
Second
Behind 2048
reversed
any
zip
map
while
10
First
Probably Dice
reversed
IndexError
except
try
sum
8
First
Unfair Dice
yield
sum
elif
range
comprehension
4
First
Bats Bunker
complex
any
pop
None
abs
First
Snake Lite
reversed
pop
None
break
or
First
Minesweeper
continue
or
False
True
range
8
First
Pearls in the Box
iter
sum
comprehension
if
First
The Square Chest
all
min
max
print
in
First
8 Puzzle
pop
None
join
while
append
Hermit
First
Strawberry Fields
math.acos
acos
math.pi
pi
round
1
product
Break Rings
itertools.product
product
itertools
min
set
recursive
Network Loops
collections.defaultdict
defaultdict
ValueError
add
collections
5
1
First
Simplification
match
re.match
reversed
ValueError
pass
13
First
Keywords Finder
bisect.bisect_left
bisect_left
bisect
reversed
insert
8
First
Reverse Engineer
randint
random.randint
random
Fraction
fractions.Fraction
14
First
Colder-Warmer
None
or
False
True
len
First
Anagrams By Stacks
reversed
pop
None
break
join
First
Ore In The Desert
math.hypot
hypot
round
math
enumerate
First
Mono Captcha
zip
enumerate
break
lambda
sum
First
The Good Radix
ValueError
pass
except
try
range
Watchtower
Least operation
Wall Keeper
functools.partial
partial
reversed
functools
any
4
1
First
Ethernet Ring Dimensioning
math.ceil
ceil
reversed
float
ord
7
First
Compare Functions
is
pass
None
except
try
7
First
DNA Common Sequence
update
set-comp
set
max
or
1
5
First
Bacteria Colonies
min
abs
or
inline-if
while
6
First
Vigenere Cipher
Exception
raise
chr
ord
zip
13
First
Bag of Santa Claus
max
or
elif
True
if
5
lambda
Rotate Hole
all
set
lambda
or
if-comprehension
11
author's
Rotate Hole
all
set
or
if-comprehension
list-comp
4th
Funny Addition
sum
Second
Numbered Triangles
itertools.permutations
permutations
itertools
max
inline-if
6
1
minimax_second
Bulls and Cows
itertools.permutations
permutations
iter
itertools.product
product
10
1
minimax
Bulls and Cows
itertools.permutations
permutations
iter
values
itertools
1
First
Bulls and Cows
random.choice
choice
random
itertools.permutations
permutations
3
1
First
Magic Square
None
sum
False
and
True
Second
Number Guess
while
True
list-comp
comprehension
if
First
Numbered Triangles
itertools.permutations
permutations
all
itertools
max
Third
Funny Addition
functools.reduce
reduce
functools
lambda
Second
Funny Addition
functools.reduce
reduce
functools
lambda
First
Convex Hull
reverse
sort
enumerate
not
while
First
Number Guess
enumerate
and
for
if
3
3