This XML file does not appear to have any style information associated with it. The document tree is shown below.
-------------------------------------------------------
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>8F7439BEFB48235A</RequestId>
<HostId>
AsDlSvgnqH99HGYCv4zHqVQ2SFCpx9OShq4fbQVvMEeL4eVtpV/aXCksfQ+aX+zx
</HostId>
</Error>
^ That's what I get when I click on the "image not found".
@PhiNotPi Well, as Chris mentioned, it doesn't really make sense that it was possible in the first place because there's no reason to scan link text for mentions.
That may or may not have been the intended behavior, but I'm just going to ship it as a feature. How many times have you moved your mouse and expected the number 7 to appear on your screen? Now OS does it for you!
Also 10 questions/day has to be a sustained average, so spamming main with a ton of challenges in a single day won't actually do anything toward graduation. :P
That's why we're counting on @Calvin to post 10 questions/day every day.
code-challenge string
Auto BATCH golfer.
I love BATCH, despite it's shocking lack of functional commands, despite even due to its lack of non-integer support. Why? Because this works:
SET var=SET
var i=0
This would evaluate to:
SET var=SET
SET i=0
Fantastic, isn't it? I've used this techn...
When Bullets Collide
This challenge is based off a riddle I read in some book a while ago, which I found again here. It is about bullets fired from a gun once per second at varying speeds that travel in a straight line forever. When one bullet hits another, both are destroyed completely. (Feel f...
code-challenge string
Auto BATCH golfer.
I love BATCH, despite its shocking lack of functional commands, despite even due to its lack of non-integer support. Why? Because this works:
SET var=SET
%var% i=0
This would evaluate to:
SET var=SET
SET i=0
Fantastic, isn't it? I've used this tech...
I don't want to boot up my Windows VM just to test this, but isn't Batch entirely case insensitive? That is, couldn't you use sEt or Set in place of SET or set?
Spacewar! king-of-the-hill
If you've ever played Spacewar!, you know it was a fun game. If you haven't, know this: it was (and is) one of the very first and most important computer games. And it's still fun!
The Game
There are two spaceships, and both have a hitbox x pixels wide and y pixels ...
Play Chess with a One-Move Lookahead
"I see only one move ahead, but it is always the correct one."
– Jose R. Capablanca, World Chess Champion 1921-1927
This is a chess tournament with a twist: your chess engine is only allowed to look 1 move (2 ply) ahead. In order to succeed, you mu...
No, it should be randomized. If you follow the comment trail it looks like it will change to each round will be a random pick X number of all the players.
@orlp Let me guess what you're doing: You're generating numbers that meet the condition, i.e. have the form 1 + 2^k * p^n (with p a prime). Then you're using a probabilistic prime test on the result. Am I on the right track?
@ThomasKwa For A = [4,12,2,10,15,2,2,19,16,12], the greedy approach gives [[4,12,15,19],[2,2,2,16],[10,15],[12]], but the optimal length is 3: [[2,2,2,12],[4,10,15,16],[12,19]]