> graph
ReferenceError: graph is not defined
at repl:1:1
at realRunInThisContextScript (vm.js:22:35)
at sigintHandlersWrap (vm.js:98:12)
at ContextifyScript.Script.runInThisContext (vm.js:24:12)
at REPLServer.defaultEval (repl.js:313:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
at REPLServer.onLine (repl.js:513:10)
at emitOne (events.js:101:20)
at REPLServer.emit (events.js:188:7)
> let graph = require('./LLIR/ExecutionGraph/ExecutionGraph');
CMC: Given n, list all the numbers that can be formed by removing k consecutive digits. For example, n = 1234567 and k = 3 gives [4567, 1567, 1267, 1237, 1234]
I've met a quite interesting problem and I thought it would be a nice task also on the code golf.
Unfortunately, it is currently being held as unclear.
However, the problem is for me very simple and clear. To my best knowledge, I reacted and made clear all reactions in comments, and by improvin...
@Mr.Xcoder They are documentated, but not implemented. Prime checking built-in kind of exists (there's a 1/2^1000 chance that it'll fail :p), but as it doesn't work online, didn't use it
Probably not included
Introduction
There is this theorem in probability that is called the inclusion-exclusion principle. It deals with different sets of events and it gives (among others) a way to calculate the probability that exactly one the the sets of events occurs. Because this codegolf i...
We could see the scores (but not the solutions) of the others, and since it was all in APL, if someone managed to get one character less, you knew it could be done, so you had to try to shorten yours too. The answers were checked in real time, and you could re-submit as much as you wanted.
@Mr.Xcoder Of course. Both in the tournament, and also in my code golf workshop. Appears the there are some very fierce APLers out there. One of our customers bought the codegolf.co.uk domain (they are based in England) and hosted the competition.
If you want to test like Twinkle Twinkle Little Star or something like that you can clone it and go to hack-the-north and open a terminal in that directory and run cat twinkletwinkle.json | bash recorder-conglomerate/harmnz.sh | python note-player/main.py | python delay/main.py 5 | jjs synthesizer/main.js
(we built everything as individual components so there are a ton of pipes lol)