CARVIEW |
Select Language
HTTP/2 302
date: Wed, 30 Jul 2025 01:30:54 GMT
content-type: text/html
content-length: 143
location: https://codegolf.meta.stackexchange.com/questions/linked/2447
cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
expires: Thu, 01 Jan 1970 00:00:01 GMT
vary: Accept-Encoding
x-dns-prefetch-control: off
server: cloudflare
cf-ray: 967117e93f1aa403-BLR
HTTP/2 200
date: Wed, 30 Jul 2025 01:30:54 GMT
content-type: text/html; charset=utf-8
cf-ray: 967117e96d6520c5-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=6ebf95b3-72cc-473f-a4ab-6af1e483fa9a; expires=Thu, 30 Jul 2026 01:30:54 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 6dbdab3d-37e8-4643-88c4-7a5c74aa2b9d
x-worker-origin-response-time: 295000000
x-dns-prefetch-control: off
set-cookie: __cflb=02DiuFkwBeMnQ7RyFf3k5rw7mskgwYbB7VHwsJUEsXdyN; SameSite=Lax; path=/; expires=Thu, 31-Jul-25 00:30:54 GMT; HttpOnly
set-cookie: prov=6ebf95b3-72cc-473f-a4ab-6af1e483fa9a; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=.OLup0xkPMmo1fo8zNvJ6wiSh57jddC4GvfqMya6JWM-1753839054-1.0.1.1-EFG_BhnqA_2rt5IOxSzqAHTPhaizjoWjn_VqHS_uFSnzjwY57Jnz2J.3bekHhCEbltTdcl3TtTPkRTLoDQgPyYrfGl.2MFVwDuMp_8bwxT0; path=/; expires=Wed, 30-Jul-25 02:00:54 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=24NLlGVxZ8T_jdLq4bqtS3OMhp6vxop4Yc.XrKVats8-1753839054627-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Hot Linked Questions - Code Golf Meta Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsLinked Questions
102 questions linked to/from Default for Code Golf: Input/Output methods
5
votes
3
answers
290
views
Is a regex answer valid if it gives the reciprocal of the required output? [duplicate]
This answer gives the reciprocal of the required output, rather than the required output itself.
In a simpler challenge this might cut out a significant part of the work, but for this particular ...
6
votes
2
answers
562
views
Is outputting a Maybe acceptable in Haskell? [duplicate]
The vote on this output option has moved here.
Haskell has a very strong type system, so there is a type called Maybe to work around some restrictions.
The Maybe ...
7
votes
2
answers
556
views
What mouse interactions are allowed by default as part of Input/Output? [duplicate]
Essentially, a user's answer in Excel (now deleted) uses the drag-down formula feature of Excel, as described in the linked related meta question. I thought that from the highest voted answer to that ...
3
votes
2
answers
351
views
What input methods should we allow for Code Golfs? [duplicate]
Should we define rules on how input can be fed into programs? This question on SO allowed for any input method, which resulted in answers which ripped off the question by doing the computation in ...
5
votes
2
answers
426
views
For Code Golf, how do you deal with languages without a traditional print/echo statements? [duplicate]
JavaScript comes to mind as a language without a traditional outputting mechanism.
In this instance, document.write() is suggested, but its specific to the browser,...
11
votes
1
answer
327
views
Returning a function, which returns the result? [duplicate]
Submission formats are always flexible here on PPCG. Named functions, anonymous functions or even full programs that perform IO, are all fine.
Even currying is acceptable, for example, taking ...
-1
votes
2
answers
172
views
Should the output to STDERR count as output length? [duplicate]
A few challenges that requires the program to output something at a specified length, and a bunch of answers well... uses built-in error messages that's generated by the interpreter rather than the ...
4
votes
1
answer
136
views
JS Promises in code-golf? [duplicate]
Should code-golf submissions written in JS that return a promise be allowed?
For example:
Promise.resolve("hi")
Doesn't output ...
user58826
6
votes
1
answer
215
views
Is Ans considered a valid form of input for TI-BASIC? [duplicate]
We haven't reached a complete consensus on whether or not Ans is permitted as a valid input format for TI-BASIC.
We have this answer on "Default for Code Golf: ...
10
votes
1
answer
238
views
What counts as "output" in SQL? [duplicate]
Some of the site's questions rule that something must (or must not) be printed to the output. My question is, in the case of SQL, what really is the output?
The ...
2
votes
1
answer
197
views
When accepting input from STDIN, can it be assumed to terminate with a newline [duplicate]
...or I guess more specifically, can I require that input from STDIN (or closest alternative, e.g. TIO) be newline terminated?
Utilising apps like TIO this isn't added, but if using a terminal with <...
7
votes
0
answers
209
views
Why can't we take input from a variable? [duplicate]
On the default allowed I/O methods, we have come to a consensus that programs may not take input from a predefined variable.
However, we have decided that anonymous functions are allowed. In the ...
2
votes
1
answer
201
views
Hard coding input [duplicate]
I've seen some answers that hard code the input or rely on the existence of a user-defined variable, see for example this question. The OP asked for a "function or equivalent subprogram". I don't ...
user344
3
votes
0
answers
85
views
What's a number? [duplicate]
Similar to What's a string?
If a challenge says that the input will be “a number”, what data types are acceptable?
Obviously, types like int and ...
0
votes
1
answer
68
views
Do programs need to take input, if it is in the spec? [duplicate]
Recently, there have been some challenges involving the OEIS. Specifically, when given an index as input, the challenge spec involves output the item in the OEIS at that index. However, for constant ...
- The Overflow Blog
-
-
Hot Network Questions
- Why not use the "age" tool for encrypted backups?
- Finite projective plane with trivial automorphism group
- The root neighborhood representation
- Do magic items that require attunement regain expended charges even when you're not attuned to them?
- Combining multicolumn and multicolumn to form this table
- Film or TV series about powerful man who is banished, fishes beings he creates from ponds
- If Satan is not omnipresent, how can he tempt or test multiple people at the same time in different places?
- On Debian, XFS, I can edit a file of another user with permissions 644 without ACL
- In Euclid's Elements, Book I, Proposition 47, Interpretation in terms of areas
- How are program IDs generated?
- Effect of strong static magnetic field on logic integrated circuit
- Is there any (around) the 14 hidden characters in path and/or filename in File Explorer?
- I have a table that is being forced over the right margin how do I force the table to evenly break both margins?
- EU/USA trade deal - is it really a done deal?
- Where does Nietzsche indicate the character of the Superman (Übermensch)?
- I struggle to draft without editing
- Advantage of launching a rocket from the Equator
- LTSpice op-amp non-inverting input acts like pull-up
- word category and coordination
- Is the six million dollar hut challenge real?
- Looking for a piece of writing that describes the head of Michelangelo's David floating in space
- Is the final part of an RNAV approach essentially a visual approach?
- Can ffmpeg record screen on wayland?
- Does Christianity recognize different types of knowledge of God?