@hosch250 The original program wouldn't be a quine because it wouldn't print those whitespaces. Same goes for unnecessary comments.
–
JwostyMar 7 '14 at 5:26

1

Yeah, I have never programed a quine before, and have no idea how to do it without reading the source code in C++. I have seen them in C++ before though!
–
Hosch250Mar 7 '14 at 5:37

1

You state: "-20% if you can also remove every 4 characters and still form a quine". But technically this is not what happens in your example. You mean you can do it a second time?
–
mmumbossMar 7 '14 at 8:17

4

Are the bonuses additive or multiplicative? That is, if my program is 10 chars long and qualifies for both the -15% bonus and the -20% bonus, will its score be 10 * (1 - 0.15 - 0.2) = 6.5 or 10 * (1 - 0.15) * (1 - 0.2) = 6.8? I assumed the latter, but an explicit clarification would be nice.
–
Ilmari KaronenMar 7 '14 at 10:26

1

Wouldn't this be a Mandoline quine, not a Guillotine? Guillotines make one clean, generally fatal, cut and the head rolls away. Mandolines make with the many evenly spaced slices. :)
–
Jonathan Van MatreMar 7 '14 at 21:45

Golfscript, 5 points

{hai}

is a function that, when executed, will run the (non-existing) function hai. It's not executed, however, but rather printed when the program ends - including the outer brackets. Removing each other character yields:

I believe you qualify for both bonuses, too: your program does not read its own source code, and {} is a quine too.
–
Ilmari KaronenMar 7 '14 at 10:21

@IlmariKaronen it's hard to tell what counts as reading own source code. Does unevaluating functions count? Does evaluating strings count? As for the other bonus - maybe it's just badly worded, but I read "remove every four characters" as "keep every fifth character", which would leave me with one bracket only (though {ab0} qualifies if 0 can be the one that's kept)
–
Jan DvorakMar 7 '14 at 10:40

Brainf**k, 37 - 15% = 31.45

When i run this I get B-C<D+E]F-GÿH<I<J<K<L<M<N<O[P.Q>R] as output so it's lacknig some characters.
–
SylwesterMar 8 '14 at 10:57

Is it Brainfuck, or a particular dialect of Brainfuck that only works on one interpreter?
–
immibisMar 8 '14 at 10:57

@immibis It's regular (those capital letters can be spaces or symbols or anything). However, you must use the portable interpreter linked from the answer.
–
TimtechMar 8 '14 at 12:28

1

The first part goes left until it finds the ÿ and the linked interpreter happens to store the code 5000 bytes before the start of the data tape. That's hardly portable Brainfuck.
–
immibisMar 8 '14 at 12:40

it's not a quine if it reads its own source though.
–
danieroApr 13 '14 at 14:58

@daniero "-15% if the solution does not read its source from anywhere in any form" implies that you are allowed to read the program's source (but you don't get the bonus)
–
professorfishApr 13 '14 at 15:39

@daniero oh i looked on wikipedia I suppose it is cheating... but it's code-golf
–
professorfishApr 13 '14 at 15:44