981 karma · joined February 1, 2022
Mail me at hey@akshat.sh to talk about anything :)
[ my public key: https://keybase.io/akshatjain; my proof: https://keybase.io/akshatjain/sigs/CIvQRR9jlU7GSiAPPEnlqN_cZSCcmQfkmBEAwqEBQFI ]
I wonder if some sort of caching might help lower costs.
This should work for 134:
`ruby -r date -e '0.upto(4e9){b=DateTime.new(0)+_1/86400r;puts b.strftime"%y-%m-%d %H:%M:%S"if(c=b.strftime"%y%m%d%H%M%S")==c.reverse}'`
142? Sorry if I broke anything, on phone.
Get rid of the variable `a` since it is used in only one place.
`DateTime.new(0,1,1,0,0,0)` -> `DateTime.new(0,1,1)`
also in newer ruby versions you can use numbered parameters to replace d with _1 and remove `|d|`
Pretty sure there might be some more which i do not see immediately :)
Most people do not read the article before commenting, you do not have to train the AI to do that.
On the negative side, we also have reservations depending on your caste, so whether or not you get admission into a prestigious institute depends on your family history.
How would your friend know you solved it though? Does he have to take your word for it? Doesn't that defeat the purpose? This analogy seems flawed, correct me if I'm wrong
Edit: I misunderstood the kind of maze the article is talking about. Apparently it's not the pen and paper version.
Do you have any source for these claims.