Okay who tf decided to make ctrl+enter run the function you're currently writing in VS Code for Python...what if you were analyzing malicious code or something?
I mean I know there's the "trust the authors of this file?" thing but that should not be the only thing keeping you safe
@RydwolfPrograms i was about to argue this is a necessary convenience that far outweighs any security risks, until i realized you said it's by FUNCTION
Reminds me of how in SQL Server Management Studio, F5 (I think) will run your query, unless you have part of the query selected, in which case it will run the selected text.
I've seen a coworker do it on purpose, so I guess it's useful, but it always trips me up.
"What do you mean, syntax error? I just ran this exact query a second ag--- ohhhh."
What if both a and b are nonzero? This outputs nothing A={};for(i=1;i<1000;++i)for(j=1;j<=i;++j)if(x=[i+j]+[i-j]+[i*j],(A[x]=-~A[x])==2)console.log(i,j)
@mousetail c89 disables for loop initial declarations, // style comments (not that are very useful for golfing), and I think some other things that are supported only in newer standards
Has anyone found other solutions to restore the old behaviour in GCC 14? passing a bunch of flags like --warn-no-implicit-int is a bit of a pita
Decode Caesar cipher based on a given text
I can't think of a better name. This is similar to this challenge, but a lot easier.
Read three strings which contain only uppercase letters. The length of the first and second strings are the same. The second string and the third string are encrypted us...
CMP: suppose there is an infinite universe where, say, every light year everything repeats. All matter, all events, everything repeats. Can you call this universe infinite?
I say no because it is equivalent to a closed universe
Sorry it took a while to get to me and then hunt down the issue but it should now be resolved. Part of the issue is that the managed challenge from Cloudflare was intermittent, making tracking down the root issue difficult.