Timeline for 1 character typo generating most error messages from C++ compilation
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:39 | history | edited | CommunityBot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
Jun 18, 2015 at 2:42 | comment | added | max-m | Just did some tests (not a C/C++ programmer) with GCC 4.9.2: gist.github.com/max-m/0cb1f1584357566f09f8 Your GCC 4.5.2 seems to generate more output for your example. Oh and by the way your modified example is 29 bytes in size, if I’m not mistaken (should increase your score a tad bit). :) | |
Jun 13, 2015 at 21:12 | comment | added | Dennis |
@JasonC: That's what I get for trying to make my answer different. Your iff generates a lot of additional output, so I guess the performs the same number of iterations, but each one has more bytes in it.
|
|
Jun 13, 2015 at 18:23 | history | edited | Jason C | CC BY-SA 3.0 |
added 132 characters in body
|
Jun 13, 2015 at 18:19 | comment | added | Jason C | @Dennis The moment you posted that comment, my re-compilation attempt after this morning's unfortunate window closure finished, with 80,797,292,934 bytes of output (which is weird, because gcc finishes fine with a second include in my version, but crashes on your original version after only half the output). So adding a second include to mine here would lead to 80797292934/(46*5)=351,292,578, which is actually higher than the one you've got now! Probably a bit higher with "a.C" too. | |
Jun 13, 2015 at 18:15 | comment | added | Dennis | @JasonC: Not infinite after all, I'm afraid. GCC eventually bails out. | |
Jun 13, 2015 at 18:11 | history | edited | Jason C | CC BY-SA 3.0 |
added 10 characters in body
|
Jun 13, 2015 at 17:59 | history | edited | Jason C | CC BY-SA 3.0 |
added 43 characters in body
|
Jun 13, 2015 at 6:13 | comment | added | Jason C |
@Dennis Whoa, nice! I'm going to leave the answer as-is since I didn't think to add a second #include on my own. As for it being infinite... if it's still running when I wake up tomorrow morning, it's infinite enough for me. Will keep you posted, ha (although, it's currently piping 5.1MB/sec to wc , so if wc is using a 32-bit counter, by my calculations something weird may happen in about 13 minutes.)
|
|
Jun 13, 2015 at 6:00 | comment | added | Dennis |
I think you can claim an infinite score if you add a second #include"a.cpp" .
|
|
Jun 13, 2015 at 5:13 | history | edited | Jason C | CC BY-SA 3.0 |
added 909 characters in body
|
Jun 13, 2015 at 5:03 | history | edited | Jason C | CC BY-SA 3.0 |
added 261 characters in body
|
Jun 13, 2015 at 4:52 | history | edited | Jason C | CC BY-SA 3.0 |
added 1170 characters in body
|
Jun 13, 2015 at 4:50 | comment | added | isaacg | @JasonC I can't upvote this enough times. | |
Jun 13, 2015 at 4:46 | comment | added | Jason C | @Dennis Oh man. I got this. Watch this second edit. Your comment was a blessing in disguise. | |
Jun 13, 2015 at 4:43 | history | edited | Jason C | CC BY-SA 3.0 |
added 1 character in body
|
Jun 13, 2015 at 4:41 | comment | added | Dennis | The question says to add a character, not to replace it. | |
Jun 13, 2015 at 4:37 | history | answered | Jason C | CC BY-SA 3.0 |