June 19, 2014, 10:16 a.m. |
+ 1 |
for Comment
Talim42: try solving some other tasks, read sulutions of veky, there are some really techiniques in them
|
June 19, 2014, 10:05 a.m. |
+ 1 |
for Comment
bryukh: Replace def to lambda if it's possible.
|
June 19, 2014, 8:53 a.m. |
+ 1 |
for Post
About tests and heavy data
|
June 19, 2014, 8:50 a.m. |
+ 1 |
for
First-mastak
|
June 19, 2014, 8:49 a.m. |
+ 1 |
for Comment
veky: Yes, C is poison. :-] But you'll be fine. Just look at other people's code here, and in time you'll ...
|
June 19, 2014, 3:48 a.m. |
+ 1 |
for Comment
veky: "i = s = 1" is probably nicer than separate assignments. number - s >= 0 is just "number >= s". Line...
|
June 19, 2014, 3:47 a.m. |
+ 1 |
for Comment
veky: When you already write that list comprehension in line 6, instead of 0 you can just write data[j][i]...
|
June 19, 2014, 3:43 a.m. |
+ 1 |
for Comment
veky: See Counter in collections module. Lines 23 and 25 are just: return alphaf == alphas. Your code is r...
|
June 18, 2014, 5:24 p.m. |
+ 1 |
for Comment
veky: That triply nested ifs are a bit more complicated than needed. Lines 13 and 14 shouldn't check condi...
|
June 18, 2014, 5:16 p.m. |
+ 2 |
for
Finite-veky
|