@StephenLeppik I've voted to close this as "unclear what you're asking" because it's not clear what a loop is. (unobservable behavior + assume language features)
Also, ^^. I noticed that you "leave open" in the review queue so ~
so I have this site for my APCS java class, which accepts java code. I can enter this and have it grade me 100%:
public static void main(String[] args) {
System.out.println("Your code has been evaluated against a set of test data.");
System.out.println("You had 50 out of 50 tests pass correctly.");
System.out.println("Your score is 100%.");
}
@ATaco Load https://chat.stackexchange.com/users/{id}, find $('.user-stats td.user-valuecell a'), use that href to get the parent site ID, then use SE API to find PPCG ID (if parent site is not PPCG)
@ASCII-only we'd want to avoid doing this since that means doing for (let i = 0; i < 1000; i++) a.push(i); you'd have 1000 reallocs though, I'd just use a start, length, capacity structure
Quarterstaff, 12
49-?{49!}49!
explanation
(value = 0 to start)
49 - add 49 to value
- - invert value (value = -49 now)
? - take a character of input (49 for "1", 48 for "0"), and add it to the value (value = 0 or -1 now)
{ - begin while not loop. will only be entered if input is 1 or sta...
Write a program that randomly generates an integer with 10 to 20 digits. The program will then asks the user to guess a digit used in the number. If the digit appears in the number, display the number with the guessed digits and an “x” for the unknown digits. Allow the user to guess n times where...
Even though we're run on a generic platform (aka StackExchange), I think it's safe to say that we have the right to our own identity, and consequently our own rules.
There are currently two elements of the site: the Enthusiast Badge and Fanatic Badge that both require a user visiting the site a ...
A lot of PPCG users helped with the creation of this challenge, both in chat and the Sandbox, specifically Martin Ender, AdmBorkBork, Emigna and user202729
Our community has found it necessary to create a set of languages designed specifically for golfing, "golfing languages" as we call them. Su...
@cairdcoinheringaahing However, I have a feeling PPCG's number of users is hugely inflated due to HNQ, spam, homework, and work. In a daily basis, I recognise the user names of almost all those that answer Qs.
> The 0xFF character is not to be used for a command, as its used to indicate that the next hex value in to index into the second half of the code page.
And I forgot to check for bugs in the codepage conversion part.
curl view-source:codegolf.stackexchange.com/revisions/… > __tmp
grep unprintable __tmp | xxd
[...]
000000c0: 6473 2077 6974 6820 616e 2075 6e70 7269 ds with an unpri
000000d0: 6e74 6162 6c65 2063 6861 7261 6374 6572 ntable character
000000e0: 3a20 6060 2c20 616e 6420 6d61 7920 6e6f : ``, and may no
000000f0: 7420 6265 2064 6973 706c 6179 6564 206f t be displayed o
[...]
Fruit bagging factory
Your mission is to build an algorithm (program or function) that can optimize bagging fruit from a conveyor belt into a bag. Each bag has to weight strictly more than weight units, just to be sure no one complains. Your bagging machine has always a lookahead of n fruits fro...
@dylnan ais523 doesn't like reputation (and delete and recreate an account every time an answer is posted is too time-consuming). — user2027291 min ago
that is, I tried to visit it at 13.04.2018 13.47.29, but it was blocked: Dangerous URL blocked, because of KSN, by using the Google Chrome and the block happened on 04/13/2018 13:47:29
KSN stands for Kaspersky Security Network, that is, researched sites going there based on other users' visits