I Love Sardines
I love sardines, I can't get enough of them, and so does my computer, the Omnilang 5000, which is language agnostic.
To give my computer the joy of experiencing sardines, I've decided to feed him a number of programs that are capable of displaying on the screen tins of sardines ...
Also the sketchiest thing ever is that my wireless adapter broke so I'm using a USB adapter to give me WiFi >.< so if I unplug it then I lose WiFi right away xD
{ searches for a matching }, if it finds one, it defines it as a function and skips to its }. Then, { can't find one, so it uses the slightly broken behavior of moving back to index 1 of the currently executing scope, which happens to skip the first {, which executes the function body. `{. appends a { and stringifies the function, and } than halts the program. Which implicitly prints the output.
@Dennis I don't know how far you followed it but it turned out that it only happened if you put his name in a code block. We submitted it to the meta and it was fixed. So some good came of it :)
name changed: reason: "Make Dennis happy" (reference to the edit where I changed "esoteric language" to "recreational language" because Dennis doesn't like "esoteric" :P)
This question is similar to Do the circles overlap?, except your program should return True if the circumference of one circle intersects the other, and false if they do not. If they touch, this is considered an intersection. Note that concentric circles only intersect when both radii are equal
...
You will be given a list of radii, you must output the area of the smallest rectangle which they will all fit in.
For example, given the list [5,3,1.5] you would output 157.460.
This is the image:
The width is 15.7460 and the height is 10, so the area is 157.460
Rules:
You get the list vi...
Hello buddies. I had an idea for a challenge but first, I need to have a sure answer to this question: is it possible to have non-halting code in SQL? Or SQL code is guaranteed to eventually halt? When I searched the web for termination/halting of SQL, I always got results related to terminating as in ";" which is a different meaning of the word, or some "hang" situations caused by background workers which is irrelevant to the SQL language.
This question is similar to Do the circles overlap?, except your program should return True if the circumference of one circle intersects the other, and false if they do not. If they touch, this is considered an intersection. Note that concentric circles only intersect when both radii are equal
...