Dec. 31, 2023, 3:11 a.m. |
+1 |
Experience for voted solution kosevl: 1 on Shorter than veky's-htamas |
May 7, 2022, 5:30 a.m. |
+5 |
Experience for voted solution H0r4c3: 5 on First-htamas |
Jan. 4, 2022, 3:27 p.m. |
+3 |
Experience for voted solution wo.tomasz: 3 on First-htamas |
Oct. 29, 2021, 1:43 p.m. |
+3 |
Experience for voted solution hwdyhewhdh: 3 on First-htamas |
April 13, 2021, 3:53 p.m. |
+1 |
Experience for voted comment ogoro: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
April 13, 2021, 3:53 p.m. |
+5 |
Experience for appreciated comment ogoro: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
April 13, 2021, 3:17 p.m. |
+1 |
Experience for voted solution ogoro: 1 on First-htamas |
Feb. 6, 2021, 12:52 a.m. |
+1 |
Experience for voted comment ogoro: 1 on htamas: I think this expression does the trick: type('', (__import__('contextlib').ContextDecorator,), {'__e... |
Jan. 21, 2021, 9:56 p.m. |
+1 |
Experience for voted solution ogoro: 1 on First-htamas |
Sept. 23, 2020, 2:10 p.m. |
+1 |
Experience for voted solution furtadobb: 1 on First-htamas |
Aug. 11, 2020, 10:24 p.m. |
+5 |
Experience for appreciated comment Negamax: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Aug. 11, 2020, 10:24 p.m. |
+1 |
Experience for voted comment Negamax: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Aug. 11, 2020, 6:07 p.m. |
+2 |
Experience for voted solution Negamax: 2 on First-htamas |
April 8, 2020, 9:07 p.m. |
+3 |
Experience for voted solution vby: 3 on First-htamas |
Oct. 7, 2019, 4:44 p.m. |
+5 |
Experience for voted solution ZZZ335: 3 on First-htamas |
May 31, 2019, 7:58 p.m. |
+1 |
Experience for voted solution hao.daniel: 1 on First-htamas |
May 14, 2019, 7:04 a.m. |
+1 |
Experience for voted comment veky: 1 on htamas: Only to Shakespeare and only after doing a google search :). (Though, in my defense, I never read Sh... |
May 4, 2019, 9:31 a.m. |
+4 |
Experience for voted solution aya.kanazawa: 4 on First-htamas |
March 9, 2019, 6:16 p.m. |
+1 |
Experience for voted comment alphamikevictor: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
March 9, 2019, 6:16 p.m. |
+5 |
Experience for appreciated comment alphamikevictor: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Feb. 8, 2019, 6:20 a.m. |
+2 |
Experience for voted solution Nikita_Litvinov: 2 on First-htamas |
Jan. 5, 2019, 2:38 p.m. |
+2 |
Experience for voted solution PanchOkamoto: 2 on First-htamas |
Dec. 19, 2018, 12:35 p.m. |
+4 |
Experience for voted solution vit.aborigen: 4 on First-htamas |
Aug. 5, 2018, 11:54 a.m. |
+1 |
Experience for voted comment veky: 1 on htamas: > I still stand by my estimate of several months. Wanna bet? :-) The problem is that if I bet, I'll ... |
July 10, 2018, 3:25 p.m. |
+4 |
Experience for voted solution quarkov: 4 on First-htamas |
May 23, 2018, 1:50 a.m. |
+2 |
Experience for voted solution infinitewaves: 2 on First-htamas |
April 19, 2018, 11:22 p.m. |
+2 |
Experience for voted solution J.W: 2 on First-htamas |
April 17, 2018, 1:10 p.m. |
+1 |
Experience for voted solution Michael_Zilberman: 1 on First-htamas |
Feb. 19, 2018, 8:50 a.m. |
+1 |
Experience for voted solution Vitaly__Efimov: 1 on First-htamas |
Nov. 23, 2017, 1:45 p.m. |
+1 |
Experience for voted comment Talim42: 1 on htamas: Well, almost :). Looks like I oversimplified the dot-segment removal part, which is purposely so con... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: You're right, it's enough to call eval(e) if x and y are already in locals(). |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: Because if you used it, it _would be_ too magic. Or at least [more magic](http://catb.org/jargon/htm... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: Yes, I could have written for i in range(len(ranges)): if painted(ranges[:i+1]) >= num: return i+1 i... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Because if you used it, it _would be_ too magic. Or at least [more magic](http://catb.org/jargon/htm... |
Nov. 23, 2017, 1:44 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Yes, I could have written for i in range(len(ranges)): if painted(ranges[:i+1]) >= num: return i+1 i... |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: "#" is the comment marker in python. You are not allowed to use it to avoid this kind of solution: c... |
Nov. 23, 2017, 1:43 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on htamas: "#" is the comment marker in python. You are not allowed to use it to avoid this kind of solution: c... |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Tip: If you indent your code with four spaces, line endings will be preserved and your code will be ... |
Nov. 23, 2017, 1:43 p.m. |
+1 |
Experience for voted comment rupadhya: 1 on htamas: Tip: If you indent your code with four spaces, line endings will be preserved and your code will be ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: “The determined Real Programmer can write FORTRAN programs in any language.” — [Ed Post, 1982](http:... |
Nov. 23, 2017, 1:42 p.m. |
+5 |
Experience for appreciated comment Sim0000: 1 on htamas: You only know Python for two weeks and completed all tasks on CheckiO? Wow, that's quite an achievem... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment Sim0000: 1 on htamas: You only know Python for two weeks and completed all tasks on CheckiO? Wow, that's quite an achievem... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Ok, perhaps it's not what you expected but it's a correct solution, isn't it? :) I agree that the as... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: You only know Python for two weeks and completed all tasks on CheckiO? Wow, that's quite an achievem... |
Nov. 23, 2017, 1:42 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on htamas: You only know Python for two weeks and completed all tasks on CheckiO? Wow, that's quite an achievem... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: The behaviour you described is related to how multicall tasks work. We are given a fresh python envi... |
Nov. 23, 2017, 1:42 p.m. |
+5 |
Experience for appreciated comment bryukh: 1 on htamas: You're right that we only have to avoid the dumb ghost. But the ghost whose steps I described above ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: You're right that we only have to avoid the dumb ghost. But the ghost whose steps I described above ... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Indeed. By the way, this is not a purely theoretical exercise. I posted the challenge because it too... |
Nov. 23, 2017, 1:42 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Next question: what does [lambda i=i: i for i in 'ab'][0]() evaluate to? |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment nickie: 1 on htamas: My solution uses alpha-beta pruning as well, I just wasn't aware that it has a name. CheckiO is a gr... |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: tmp = sqrt((s%4-(g+v)%4)**2+(s//4-(g+v)//4)**2) Tip: you don't need sqrt here. If you are only compa... |
Nov. 23, 2017, 1:41 p.m. |
+5 |
Experience for appreciated comment Amachua: 1 on htamas: tmp = sqrt((s%4-(g+v)%4)**2+(s//4-(g+v)//4)**2) Tip: you don't need sqrt here. If you are only compa... |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: No, you didn't skip "listify" in the docs, I just sneaked it in as a lambda expression in line 2. I ... |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Like this? from functools import lru_cache listify = lambda f: lambda *x: list(f(*x)) @lru_cache() @... |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment oduvan: 1 on htamas: Yes, I did write in on my mobile phone. Yes, it does have Python installed. No, I didn't use it for ... |
Nov. 23, 2017, 1:41 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: Yes, I did write in on my mobile phone. Yes, it does have Python installed. No, I didn't use it for ... |
Nov. 23, 2017, 1:39 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: That's a different issue: urllib and friends are not in the allowed modules list, see [Supported Mod... |
Nov. 23, 2017, 1:39 p.m. |
+5 |
Experience for appreciated comment nickie: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:39 p.m. |
+1 |
Experience for voted comment nickie: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:38 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: Perhaps because I didn't go for character count? :) But since you asked for it, [I've beaten you by ... |
Nov. 23, 2017, 1:38 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: [SPOILER](# "It will give you a syntax error because the parentheses are missing after checkio. But ... |
Nov. 23, 2017, 1:38 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Perhaps because I didn't go for character count? :) But since you asked for it, [I've beaten you by ... |
Nov. 23, 2017, 1:37 p.m. |
+1 |
Experience for voted comment oduvan: 1 on htamas: Yes, that's the fix. In line 2, you can write t.split() instead of t.split("␣"). It's not exactly th... |
Nov. 23, 2017, 1:37 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on htamas: Yes, that's the fix. In line 2, you can write t.split() instead of t.split("␣"). It's not exactly th... |
Nov. 23, 2017, 1:37 p.m. |
+5 |
Experience for appreciated comment Amachua: 1 on htamas: Yes, that's the fix. In line 2, you can write t.split() instead of t.split("␣"). It's not exactly th... |
Nov. 23, 2017, 1:37 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: Yes, that's the fix. In line 2, you can write t.split() instead of t.split("␣"). It's not exactly th... |
Nov. 23, 2017, 1:36 p.m. |
+5 |
Experience for appreciated comment Amachua: 1 on htamas: In line 7, zip() trims all lines to the length of the shortest one. This causes inputs like checkio(... |
Nov. 23, 2017, 1:36 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: In line 7, zip() trims all lines to the length of the shortest one. This causes inputs like checkio(... |
Nov. 23, 2017, 1:36 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: [Did you mean](http://tr.im/4tbdr): checkio = (lambda N, H, R=range, L=len: (lambda *_:0)(*map(*reve... |
Nov. 23, 2017, 1:36 p.m. |
+5 |
Experience for appreciated comment Amachua: 1 on htamas: [Did you mean](http://tr.im/4tbdr): checkio = (lambda N, H, R=range, L=len: (lambda *_:0)(*map(*reve... |
Nov. 23, 2017, 1:36 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: [Did you mean](http://tr.im/4tbdr): checkio = (lambda N, H, R=range, L=len: (lambda *_:0)(*map(*reve... |
Nov. 23, 2017, 1:36 p.m. |
+5 |
Experience for appreciated comment veky: 1 on htamas: [Did you mean](http://tr.im/4tbdr): checkio = (lambda N, H, R=range, L=len: (lambda *_:0)(*map(*reve... |
Nov. 23, 2017, 1:35 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: > Any ints? Both [...] will pass the grader? The grader accepts anything (that is formally correct) ... |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: Looks like Guido has listened to you, though in a rather covert way :). So, do you have any further ... |
Nov. 23, 2017, 1:34 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on htamas: > BTW, you haven't actually run the above code, right? :-) Of course :). |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment oduvan: 1 on htamas: > BTW, you haven't actually run the above code, right? :-) Of course :). |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: I think this expression does the trick: type('', (__import__('contextlib').ContextDecorator,), {'__e... |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment Amachua: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:34 p.m. |
+5 |
Experience for appreciated comment Amachua: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:34 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:34 p.m. |
+5 |
Experience for appreciated comment veky: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:33 p.m. |
+5 |
Experience for appreciated comment oduvan: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:33 p.m. |
+1 |
Experience for voted comment oduvan: 1 on htamas: In case you wanted actual answers: > 1\. What are those two lambdas doing after checkio=? How come o... |
Nov. 23, 2017, 1:33 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: > Cache will start work only when you call checkio **steps** times. No, it will work right from the ... |
Nov. 23, 2017, 1:33 p.m. |
+1 |
Experience for voted comment bryukh: 1 on htamas: Yes, basically it avoids calculating the same subproblem twice. When you call the decorated function... |
Sept. 1, 2017, 4:45 a.m. |
+3 |
Experience for voted solution tmaeda11235: 3 on Shorter than veky's-htamas |
Aug. 6, 2017, 11:29 a.m. |
+4 |
Experience for voted solution sammyjankins: 4 on First-htamas |
July 28, 2017, 10:28 p.m. |
+4 |
Experience for voted solution Tinus_Trotyl: 4 on First-htamas |
Dec. 31, 2016, 9:53 a.m. |
+2 |
Experience for voted solution ottosmo: 2 on First-htamas |
Nov. 21, 2016, 8:14 p.m. |
+3 |
Experience for voted solution veky: 3 on First-htamas |
Nov. 21, 2016, 4:37 p.m. |
+2 |
Experience for voted solution Thenbacker: 2 on First-htamas |
Oct. 5, 2016, 12:57 p.m. |
+1 |
Experience for voted solution Kwentar: 1 on Shorter than veky's-htamas |
June 15, 2016, 6:05 a.m. |
+2 |
Experience for voted solution Alexander.Meta: 2 on First-htamas |
Dec. 29, 2015, 10:59 a.m. |
+5 |
Experience for voted solution dagger126: 5 on Pedantic-htamas |
Dec. 28, 2015, 5:20 a.m. |
+4 |
Experience for voted solution veghadam1991: 4 on First-htamas |
Dec. 26, 2015, 6:23 a.m. |
+4 |
Experience for voted solution veghadam1991: 4 on First-htamas |
Nov. 22, 2015, 6:01 a.m. |
+5 |
Experience for voted solution dagger126: 5 on First-htamas |
Sept. 26, 2015, 3:49 a.m. |
+1 |
Experience for voted solution Just_Write: 1 on First-htamas |
Sept. 24, 2015, 5:32 p.m. |
+1 |
Experience for voted comment veky: 1 on htamas: > BTW, you haven't actually run the above code, right? :-) Of course :). |