Skip to main content

Timeline for Full Width Text

Current License: CC BY-SA 3.0

19 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Dec 17, 2017 at 17:48 history edited Riker CC BY-SA 3.0
added 33 characters in body
Mar 4, 2017 at 21:52 comment added Cyoce You can save some bytes with main(a,b)char**b;{...}
Mar 23, 2016 at 13:00 history edited FryAmTheEggman CC BY-SA 3.0
edited to work with leaderboard
Mar 22, 2016 at 20:59 history edited SBI CC BY-SA 3.0
added 42 characters in body
Mar 22, 2016 at 20:48 history edited SBI CC BY-SA 3.0
Removed include.
Mar 22, 2016 at 20:47 comment added SBI @FryAmTheEggman I realised just as I hit edit, but somehow my latest edit reverted instead of adding the functioning version. Hence my comment about being an idiot ;) Dennis, thanks for the clarification.
Mar 22, 2016 at 20:38 comment added Dennis Languages are defined by their implementation on PPCG. If it works without the include statement (and it does with GCC), you don't need it.
Mar 22, 2016 at 20:21 comment added FryAmTheEggman Your non terminating answer can be made to terminate by adding ~ before cs assignment and usage, to convert EOF to 0.
Mar 22, 2016 at 20:15 comment added SBI I'm an idiot, that's all.
Mar 22, 2016 at 20:15 history edited SBI CC BY-SA 3.0
added 128 characters in body
Mar 22, 2016 at 20:14 comment added FryAmTheEggman Really? I think I have a shorter way with getchar, but generally no that's not alright unless specifically allowed.
Mar 22, 2016 at 20:13 comment added SBI @FryAmTheEggman How about non terminating? Because that's the only way a getchar version will be shorter. That sort of stops to count as a proper program for me :D
Mar 22, 2016 at 20:12 comment added FryAmTheEggman Generally, if it works with Ideone it's ok :)
Mar 22, 2016 at 20:10 comment added SBI @FryAmTheEggman I left the include in to be completely compliant, I can only test with gcc. As long as gcc-only is fine, yeah, shaving the include is alright.
Mar 22, 2016 at 20:06 comment added FryAmTheEggman Either is fine we like our I/O to be friendly :) But I do believe using getchar() is shorter. Also you don't need the include for most C compilers.
Mar 22, 2016 at 20:04 comment added SBI @Josh Does it count as a parameter to main? Because otherwise, the Java answer will be just as wrong, and not so sure about the Haskell one either.
Mar 22, 2016 at 19:59 comment added Josh The requirements are a little murky, but I believe you have to read the input from stdin rather than taking it as an argument. Also, here is a page with some useful tips for further golfing in C: codegolf.stackexchange.com/q/2203/13877
Mar 22, 2016 at 19:49 history answered SBI CC BY-SA 3.0