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