July 29, 2017, 1:28 p.m. |
+ 1 |
for Comment
StefanPochmann: Yes, that was it. Or `range(1, max(enemy_die) + 2)`, which can be faster.
|
July 29, 2017, 1:13 p.m. |
+ 1 |
for Comment
StefanPochmann: ~~And back then we still had Python 2 and its `cmp` :-(~~ (edit: forgot that it only guarantees posi...
|
April 17, 2017, 8:24 p.m. |
+ 1 |
for
Interview with Dahlia
|
March 2, 2017, 1:49 a.m. |
+ 1 |
for
Interview with kurosawa4434
|
Jan. 19, 2017, 4:02 p.m. |
+ 1 |
for Comment
siebenschlaefer: FYI: You could simplify ``` if image[i + rp][j + cp] == 0: image[i + rp][j + cp] = 2 if image[i + rp...
|
Jan. 18, 2017, 8:04 p.m. |
+ 1 |
for Comment
julieno: Interesting idea.
|
Jan. 6, 2017, 2:30 a.m. |
+ 1 |
for
Happy New Year
|
Dec. 29, 2016, 2:52 p.m. |
+ 1 |
for Comment
siebenschlaefer: FYI: Instead of ``` for ...: if condition: continue else: do_something() ``` you can write ``` for ....
|
Dec. 28, 2016, 1:33 a.m. |
+ 2 |
for
First-Sim0000
|
Dec. 16, 2016, 9:17 p.m. |
+ 1 |
for Comment
DerryK: I like your use of a queue to keep track of teleports to be tried, and "len(set(path))" to see if yo...
|
Dec. 16, 2016, 3:03 a.m. |
+ 1 |
for
PEP 498 - f-strings for Python 3.6
|
Dec. 14, 2016, 8:35 p.m. |
+ 1 |
for
New Years Awesome Gift
|
Dec. 10, 2016, 10:20 p.m. |
+ 3 |
for
Decimal FTW-veky
|
Dec. 10, 2016, 12:11 a.m. |
+ 5 |
for
First-Sim0000
|
Nov. 22, 2016, 3:22 p.m. |
+ 1 |
for
The world is changing
|
Nov. 22, 2016, 2:54 a.m. |
+ 2 |
for
i_love_regexp-Kerulen
|
Nov. 21, 2016, 4:37 p.m. |
+ 2 |
for
First-htamas
|
Nov. 21, 2016, 5:14 a.m. |
+ 2 |
for
DP-gyahun_dash
|
Nov. 20, 2016, 1:34 a.m. |
+ 2 |
for
Simple simulation-yingr1208
|
Nov. 19, 2016, 9:10 p.m. |
+ 2 |
for
Bunny's simplified-nickie
|
Nov. 19, 2016, 2:35 a.m. |
+ 2 |
for
eval and lambda-Peter.White
|
Nov. 19, 2016, 2:28 a.m. |
+ 2 |
for
First-Sim0000
|
Nov. 18, 2016, 6:26 p.m. |
+ 2 |
for
First-Sim0000
|
Nov. 17, 2016, 4:32 p.m. |
+ 1 |
for Comment
veky: Nice and straightforward. bools can be used arithmetically in total += (p>e) - (p<e), this RHS being...
|
Nov. 14, 2016, 12:52 p.m. |
+ 1 |
for Comment
veky: Factoring, factoring, factoring! :-)
|
Nov. 13, 2016, 6:40 p.m. |
+ 2 |
for
Single ended-veky
|
Nov. 13, 2016, 4:07 p.m. |
+ 2 |
for
Straightforward-nickie
|
Nov. 13, 2016, 4:55 a.m. |
+ 4 |
for
Simple-DanielDou
|
Nov. 13, 2016, 1:57 a.m. |
+ 2 |
for
AngelRaposo-AngelRaposo
|
Nov. 13, 2016, 1:02 a.m. |
+ 2 |
for
Exceptional-veky
|
Nov. 12, 2016, 7:11 p.m. |
+ 2 |
for
DFS revised-Sim0000
|
Nov. 12, 2016, 7:09 p.m. |
+ 2 |
for
Eulerian path & DFS-DiZ
|
Nov. 10, 2016, 5:42 p.m. |
+ 1 |
for Task
Largest Rectangle in a Histogram
|
Nov. 7, 2016, 2:40 p.m. |
+ 2 |
for
First-rolandp
|
Nov. 7, 2016, 2:07 p.m. |
+ 1 |
for Task
Crossword Solver
|
Nov. 7, 2016, 2:44 a.m. |
+ 1 |
for Comment
hothat: cool
|
Nov. 4, 2016, 3:18 a.m. |
+ 2 |
for
Do or do not-veky
|
Oct. 29, 2016, 8:38 p.m. |
+ 1 |
for Comment
DahliaSR: So Lazy! :D
|
Oct. 28, 2016, 3:54 p.m. |
+ 2 |
for
Bisection-gyahun_dash
|
Oct. 27, 2016, 1:49 p.m. |
+ 2 |
for
Within 3 guesses-artakase
|
Oct. 27, 2016, 1:31 a.m. |
+ 2 |
for
Counter-Sim0000
|
Oct. 25, 2016, 1:20 p.m. |
+ 1 |
for
O(n) search-DiZ
|
Oct. 25, 2016, 12:24 a.m. |
+ 2 |
for
Simple-Sim0000
|
Oct. 23, 2016, 1:38 a.m. |
+ 3 |
for
Bellman–Ford-ish (short)-StefanPochmann
|
Oct. 23, 2016, 1:35 a.m. |
+ 1 |
for Comment
alex-pobeditel-2004: '&' stands for intersection (pair & team is not an empty set?), '|=' is a set update operation - i.e...
|
Oct. 23, 2016, 12:49 a.m. |
+ 2 |
for
First-Renelvon
|
Oct. 22, 2016, 5:45 p.m. |
+ 1 |
for Comment
Sim0000: Your code is too complicate for me. I rewrite your BFS. def BFS(maze): start ='1' queue = deque([(st...
|
Oct. 22, 2016, 5:39 p.m. |
+ 1 |
for Comment
DahliaSR: Added Tags: * for_advisers * task.disposable-teleports
|
Oct. 22, 2016, 10:29 a.m. |
+ 1 |
for Comment
Sim0000: Please paste your code here.
|
Oct. 18, 2016, 4:57 p.m. |
+ 1 |
for
First-Amachua
|
Oct. 15, 2016, 9:21 p.m. |
+ 1 |
for Comment
tarjeii: No need to repeat volume and return line for each option. These 2 lines should be outside the if-sec...
|
Oct. 7, 2016, 2:19 p.m. |
+ 1 |
for Comment
veky: A stab in the eye can also be educational. :-P And points matter because...? You're already awesome....
|
Oct. 7, 2016, 1:12 p.m. |
+ 1 |
for Comment
veky: You ain't seen nothing yet. :-D
|
Oct. 7, 2016, 12:58 p.m. |
+ 1 |
for Comment
veky: You really like sprinkling that "str" around your code a lot, don't you? :-o
|
Oct. 7, 2016, 12:55 p.m. |
+ 1 |
for Comment
veky: > always room for improvement Yup. For a start, factor out the duplication. ;-)
|
Oct. 7, 2016, 12:53 p.m. |
+ 1 |
for Comment
veky: OMG. The dreaded "else: pass" pattern. :-D Also, why do you check for tuple at some point? (and for ...
|
Oct. 7, 2016, 12:51 p.m. |
+ 1 |
for Comment
veky: Of course it can. :-D https://py.checkio.org/mission/calculate-islands/publications/veky/python-3/fl...
|
Oct. 7, 2016, 12:50 p.m. |
+ 4 |
for
The Good Solution-veky
|
Oct. 6, 2016, 7:25 p.m. |
+ 1 |
for
Pseudo-Morse-PositronicLlama
|
Oct. 6, 2016, 7:17 p.m. |
+ 1 |
for
dictionary-kurosawa4434
|
Oct. 6, 2016, 4:42 p.m. |
+ 1 |
for
New missions and Monthly Leaderboard
|
Oct. 6, 2016, 4:12 p.m. |
+ 1 |
for
First-Sim0000
|
Oct. 6, 2016, 1:22 p.m. |
+ 1 |
for
First-LexCavalera
|
Oct. 6, 2016, 2:15 a.m. |
+ 1 |
for
Square count-Gavrichenko
|
Oct. 4, 2016, 3:33 p.m. |
+ 1 |
for
Second-CallEric
|
Oct. 3, 2016, 10:18 p.m. |
+ 1 |
for Comment
Ardillo95: Of course, check my code, lines 13-67 can be done in 6 or 7 lines. Use a list of neighbors direction...
|
Oct. 3, 2016, 2:37 a.m. |
+ 3 |
for
First-AlbertTovmasyan
|
Oct. 3, 2016, 2:35 a.m. |
+ 3 |
for
Proper, readable solution-dunpealer
|
Oct. 3, 2016, 2:13 a.m. |
+ 2 |
for
iterative_while-ciel
|
Oct. 3, 2016, 2:02 a.m. |
+ 2 |
for
Naive-Sim0000
|
Oct. 3, 2016, 12:48 a.m. |
+ 4 |
for
Painstaking-veky
|
Oct. 3, 2016, 12:47 a.m. |
+ 1 |
for
Second-spoty
|
Oct. 2, 2016, 9:21 p.m. |
+ 2 |
for
First-artakase
|
Oct. 2, 2016, 9:13 p.m. |
+ 4 |
for
First-Sim0000
|
Oct. 2, 2016, 7:07 p.m. |
+ 2 |
for
Intersection-bryukh
|
Oct. 2, 2016, 3:43 p.m. |
+ 1 |
for Comment
veky: First, I don't think you really do (need to google that). From the title and the context, I assume y...
|
Oct. 2, 2016, 4:13 a.m. |
+ 1 |
for
It has been brutal. -Prik
|
Sept. 29, 2016, 5:21 p.m. |
+ 3 |
for
First-bukebuer
|
Sept. 27, 2016, 5:26 p.m. |
+ 1 |
for
First-Sim0000
|
Sept. 27, 2016, 3:23 p.m. |
+ 1 |
for Comment
Kolrim: I think you may have over complicated this a little bit. First, you need not create a range to go ov...
|
Sept. 23, 2016, 12:46 p.m. |
+ 1 |
for Comment
december86: Good job! Thank you for comments!
|
Sept. 22, 2016, 1:50 a.m. |
+ 1 |
for
little compex-Cjkjvfnby
|
Sept. 20, 2016, 7:22 p.m. |
+ 1 |
for
Compare with Roman-veky
|
Sept. 17, 2016, 1:13 p.m. |
+ 1 |
for
First-takapt0226
|
Sept. 17, 2016, 4:05 a.m. |
+ 1 |
for
Complex numbers-Leonix
|
Sept. 15, 2016, 12:45 a.m. |
+ 1 |
for Comment
Mellivoran: Oh man, I'm tucking this gem away for a rainy day. Had no idea it was that easy to represent numbers...
|
Sept. 11, 2016, 2:12 p.m. |
+ 1 |
for
First-MMM_AAA_NNN
|