@TimmyD I guess this makes sense but if I'm writing a challenge i'd prefer seeing a cool golfed solution rather than a built-in/library invocation (unless it's on the scale of built-ins to identify goats in pictures)
Well it might have been reopened either way, but I feel like it matters a little whether it was by hammer or by 5 votes. Or maybe I'm just overthinking it
Well there is a reason the mjolnir exists. After enough contributions to get one, you've probably earned community trust/respect. I wouldn't overthink it.
Unless it gets reclosed, in which case it should probably go to meta
Round to n Sig Figs
code-golf
Challenge
Given a number x and a number n, round number x to n significant figures and output the result.
Significant figures
The significant figures of a number are digits that carry meaning contributing to its measurement resolution. This includes all numbers ...
@Nathaniel Our accepted guideline for two challenges being duplicates is whether answers from one can be reused (competitively) on the other with little or no modification. Whether challenges bring something novel to the table is not part of that guideline. Please use downvotes for challenges you want to discourage or just ignore them if they don't think they're interesting and let those who do enjoy them. — Martin Ender ♦2 hours ago
Here, the right word from the mod.
In the meantime, the question will be eligible for a bounty in 18 hours. Instead of a bounty, at that time I'll accept the answer. :3
Is an edit to change inline code to code blocks okay?
C#, 215 bytes
string t(int N){var n=N<0;N=n?-N:N;var t=new string('_',4*N);for(int i=0;i<N;){var f=new string(i<N-1?' ':'_',2*N-1);var p=new string(' ',2*N-2*i-2);t+='\n'+new string(' ',i++)+'\\'+(n?p+'/'+f:f+'\\'+p)+'/';}return t;}
There's a possibility to save some bytes when using using s=st...
@orlp Usually if I drink a soda, it's in a 20oz (~590mL) bottle. That's a good size. I agree that the 12oz cans are too small, and there are even 8oz (~235mL) cans, too!
The Anguis fragilis, or slow worm, is a limbless lizard native to Eurasia. It is sometimes called a blindworm. Its German name, "Blindschleiche," is derived from the Old High German plintslîcho meaning "blinding creeper", perhaps because of its lustrous scales.
Slow worms are semifossorial (burrowing) lizards, spending much of the time hiding underneath objects. The skin of slow worms is smooth with scales that do not overlap one another. Like many other lizards, slow worms autotomize, meaning that they have the ability to shed their tails to escape predators. While the tail regrows, it does not...
@Zalgo True. You killed my father used to Florin channel, so this farm boy, All it Inigo? You're alive. I will never left eye, and Buttercup is in is, but one.
You sell gold coins. Each gold coin you sell is supposed to be 1 ounce. However, you find out that one of your coin suppliers is cheating you. By alloying the gold material with something else, their coins weigh only 0.9 ounces. With a help of a pointer scale (one that shows the exact weight of a...
@Geobits oh, i'm not a little little little little little little little little little little little little little of the of the of the of the of the of the of the of the of the of the of the of the of the of the of the