Stack Exchange Network

Stack Exchange network consists of 175 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 Exchange

Questions tagged [code-challenge]

For questions regarding code challenges and/or submissions

-2
votes
0answers
41 views

What color is your web page? [closed]

A business owner wants to create a website home page, whose background color dynamically and linearly changes with the time of the day based upon the following: Midnight: Black Between Midnight and ...
0
votes
3answers
95 views

Are infinite score allowed by default for “lowest score win”?

Are submissions acceptable if their worst case score is unbounded? I think it worth a default exist
-2
votes
1answer
129 views

Code challenge & [closed]

I see new users treat "code-challenge" as "it's hard to solve, but once done you win", but "code-challenge" here seems to mean "you need to optimize, but it's hard to put such an scoring way in one ...
0
votes
1answer
75 views

Do two solution with same score limit have score order? [closed]

There was problem asking to write n programs a0, a1, a2, ..., an-1, so that running ak outputs a(k+1) mod n, and the score is sum(len(ai))/n2. Lower score the better. Lots of answers just have a ...
1
vote
1answer
77 views

Is it KoTH if they don't fight each other?

I am planning on running a KoTH where each bot individually plays a game, it is a 1 player game so they don't fight each other. Is it still a KoTH or should I do it as a code-challenge?
0
votes
2answers
61 views

Which answer should I give my bounty to?

I started a bounty on this question because I didn't think it could get beaten. The next day it was beaten by Dennis. I was sure this would win, but then it was beaten again. However, I am a bit ...
1
vote
1answer
112 views

Strikethrough byte counts in answer headers [duplicate]

In code-golf submissions, people often like to show how they golfed their program down, striking out the previous byte counts and leaving the current one unformatted. I've seen this done two ways. ...
0
votes
1answer
72 views

Guessing the winning language

I know that betting reputation is strongly against the aim of this site. I propose a guessing game on Codegolf (without betting reputation). It might work in this way: after a challenge has been ...
12
votes
3answers
701 views

Hand-crafting a PDF

Inspired by this answer, I thought an interesting challenge would be to golf a PDF file. PDF files are based on the PostScript language, so I thought this might be acceptable as a programming ...
7
votes
2answers
196 views

Code challenge - do your best with limited code size. How much to allow?

I would like to make a code challenge (or a new type of challenge), which is based on code size, but in a "dual" way to code-golf: code size is limited, and the winner is whoever makes the best code (...
14
votes
1answer
380 views

Can I propose a contest for my own “programming language”?

I have a custom CPU emulator, with 44 instructions (opcodes), and I would like to challenge you guys to code a better kernel for it (current one is a simple command interpreter with 3 commands: HELP, ...
0
votes
2answers
412 views

Programming Praxis weekly challenges

This site (http://programmingpraxis.com) publishes every week very interesting code challenges, that could totally fit here. Example: http://programmingpraxis.com/2014/07/25/number-words/ : that ...
5
votes
1answer
125 views

Adding benchmark test cases to active code challenge

I am working on a code challenge. The scoring will be based on a set of benchmark inputs (i.e. it will be the sum of the individual scores). Now I'm wondering if it's alright to add additional test ...
1
vote
0answers
52 views

Is it good taste to add new bonuses to challenge?

Is it good taste to add bonuses to a challenge so that new answers can compete? On this question, a really short answer was given by simply tying to programs together (I was thinking of calling "...
1
vote
2answers
156 views

Making minimal modifications to fix code

This is bugging the hell out of me. I could have sworn I had seen the challenge here: http://golf.shinh.org/all.rb a while back, but I've just gone through all 500 of those challenges and none of them ...
3
votes
1answer
200 views

Is “cleverness” valid as the sole criteria for a puzzle?

This question was migrated in this morning. It was asked about a year ago on Stack Overflow, as a sort of alternative to the then-established Code Golf niche. If you've never had a chance to read ...