QG
1 program
Added 2026-03-05T12:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: QR Game Language
Provenance: commit 9fb56b7b5a · authored 2026-03-05T12:57:24+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Sieve of Eratosthenes
Provenance: commit 9fb56b7b5a · authored 2026-03-05T12:57:24+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
init {
n = 0
}
run {
primes = arrayList(~true, n)
i = 0
while(i < n) {
primes.append(true)
i = i + 1
}
p = 2
while (p*p < n) {
if (primes.get(p)) {
i = p*p
while (i < n) {
primes.set(i, false)
i = i + p
}
}
p = p + 1
}
}
input(a,b) true