<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot;]]></title><description><![CDATA[<p>Ein bekannter Forentroll hat diesen Generator geschrieben: <a href="https://ideone.com/7J6uZh" rel="nofollow">https://ideone.com/7J6uZh</a> (aus <a href="http://www.c-plusplus.net/forum/p2314540#2314540" rel="nofollow">diesem</a> Trollthread).</p>
<p>Das geht noch kürzer!</p>
<p>Aufgabe ist, ein Programm zu schreiben, welches entsprechende Werte generiert (siehe PS). Die Reihenfolge ist egal, aber es müssen alle Zeilen enthalten sein. Gewonnen hat das Programm mit den wenigsten Zeichen, Leerzeichen zählen mit.</p>
<p>Erlaubt sind Programme in C89, C99 oder C11 sowie C++98, C++03 oder C++11. Das Programm muss dem jeweiligen Standard entsprechen, implementation-defined Behaviour, Extensions oder UB ist nicht erlaubt.</p>
<p>In einem ersten Anlauf komme ich auf etwa 260 Zeichen Code gegenüber 1490 Zeichen Output, aber da liegt sicher noch mehr drin.</p>
<p>PS: Die Liste ist:</p>
<pre><code>bool
const bool
volatile bool
const volatile bool
signed char16_t
const signed char16_t
volatile signed char16_t
const volatile signed char16_t
unsigned char16_t
const unsigned char16_t
volatile unsigned char16_t
const volatile unsigned char16_t
signed char32_t
const signed char32_t
volatile signed char32_t
const volatile signed char32_t
unsigned char32_t
const unsigned char32_t
volatile unsigned char32_t
const volatile unsigned char32_t
signed char
const signed char
volatile signed char
const volatile signed char
unsigned char
const unsigned char
volatile unsigned char
const volatile unsigned char
signed wchar_t
const signed wchar_t
volatile signed wchar_t
const volatile signed wchar_t
unsigned wchar_t
const unsigned wchar_t
volatile unsigned wchar_t
const volatile unsigned wchar_t
signed short
const signed short
volatile signed short
const volatile signed short
unsigned short
const unsigned short
volatile unsigned short
const volatile unsigned short
signed int
const signed int
volatile signed int
const volatile signed int
unsigned int
const unsigned int
volatile unsigned int
const volatile unsigned int
signed long
const signed long
volatile signed long
const volatile signed long
unsigned long
const unsigned long
volatile unsigned long
const volatile unsigned long
signed long long
const signed long long
volatile signed long long
const volatile signed long long
unsigned long long
const unsigned long long
volatile unsigned long long
const volatile unsigned long long
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/315741/code-golf-generator-für-alle-quot-cv-integrale-werte-quot</link><generator>RSS for Node</generator><lastBuildDate>Fri, 31 Jul 2026 03:31:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/315741.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Apr 2013 19:05:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:05:23 GMT]]></title><description><![CDATA[<p>Ein bekannter Forentroll hat diesen Generator geschrieben: <a href="https://ideone.com/7J6uZh" rel="nofollow">https://ideone.com/7J6uZh</a> (aus <a href="http://www.c-plusplus.net/forum/p2314540#2314540" rel="nofollow">diesem</a> Trollthread).</p>
<p>Das geht noch kürzer!</p>
<p>Aufgabe ist, ein Programm zu schreiben, welches entsprechende Werte generiert (siehe PS). Die Reihenfolge ist egal, aber es müssen alle Zeilen enthalten sein. Gewonnen hat das Programm mit den wenigsten Zeichen, Leerzeichen zählen mit.</p>
<p>Erlaubt sind Programme in C89, C99 oder C11 sowie C++98, C++03 oder C++11. Das Programm muss dem jeweiligen Standard entsprechen, implementation-defined Behaviour, Extensions oder UB ist nicht erlaubt.</p>
<p>In einem ersten Anlauf komme ich auf etwa 260 Zeichen Code gegenüber 1490 Zeichen Output, aber da liegt sicher noch mehr drin.</p>
<p>PS: Die Liste ist:</p>
<pre><code>bool
const bool
volatile bool
const volatile bool
signed char16_t
const signed char16_t
volatile signed char16_t
const volatile signed char16_t
unsigned char16_t
const unsigned char16_t
volatile unsigned char16_t
const volatile unsigned char16_t
signed char32_t
const signed char32_t
volatile signed char32_t
const volatile signed char32_t
unsigned char32_t
const unsigned char32_t
volatile unsigned char32_t
const volatile unsigned char32_t
signed char
const signed char
volatile signed char
const volatile signed char
unsigned char
const unsigned char
volatile unsigned char
const volatile unsigned char
signed wchar_t
const signed wchar_t
volatile signed wchar_t
const volatile signed wchar_t
unsigned wchar_t
const unsigned wchar_t
volatile unsigned wchar_t
const volatile unsigned wchar_t
signed short
const signed short
volatile signed short
const volatile signed short
unsigned short
const unsigned short
volatile unsigned short
const volatile unsigned short
signed int
const signed int
volatile signed int
const volatile signed int
unsigned int
const unsigned int
volatile unsigned int
const volatile unsigned int
signed long
const signed long
volatile signed long
const volatile signed long
unsigned long
const unsigned long
volatile unsigned long
const volatile unsigned long
signed long long
const signed long long
volatile signed long long
const volatile signed long long
unsigned long long
const unsigned long long
volatile unsigned long long
const volatile unsigned long long
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2314556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314556</guid><dc:creator><![CDATA[schroll]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:05:23 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:06:21 GMT]]></title><description><![CDATA[<p>Hahaha, witzig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314558</guid><dc:creator><![CDATA[Nathan]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:06:21 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:23:18 GMT]]></title><description><![CDATA[<p>Ich schaffe 360 Zeichen mit <strong>Allem drum und Dran</strong>.</p>
<p>Wie zählst du die Zeichen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314563</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314563</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:23:18 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:26:12 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Wie zählst du die Zeichen?</p>
</blockquote>
<p><a href="http://man.cx/wc" rel="nofollow">man: wc</a> <code>-c</code></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314564</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314564</guid><dc:creator><![CDATA[schroll]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:30:55 GMT]]></title><description><![CDATA[<p>350... naja<br />
Edit: Ich mach irgendwas falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314567</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314567</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:34:00 GMT]]></title><description><![CDATA[<p><a href="http://ideone.com/pmNl5c" rel="nofollow">Kleine Anregung</a> (wenn auch nicht ganz standardgetreu).</p>
<p>Wichtig ist der Punkt</p>
<blockquote>
<p>Die Reihenfolge ist egal, aber es müssen alle Zeilen enthalten sein.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/2314568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314568</guid><dc:creator><![CDATA[schroll]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:47:35 GMT]]></title><description><![CDATA[<blockquote>
<p>Die Reihenfolge ist egal, aber es müssen alle Zeilen enthalten sein.</p>
</blockquote>
<p>Schon klar. Ich habe einige Zeilen doppelt <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>P.S.: Den Link klicke ich nicht an...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314571</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314571</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:47:35 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:54:00 GMT]]></title><description><![CDATA[<p>287</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314573</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:06:29 GMT]]></title><description><![CDATA[<p>271(68)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314574</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314574</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 19:59:38 GMT]]></title><description><![CDATA[<p>Mit &lt;string&gt; inkludiert: 275 Zeilen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314577</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314577</guid><dc:creator><![CDATA[lolzzz]]></dc:creator><pubDate>Wed, 10 Apr 2013 19:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:01:01 GMT]]></title><description><![CDATA[<p>Neuer Highscore.<br />
Mit &lt;string&gt; inkludiert: 257 Zeilen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314578</guid><dc:creator><![CDATA[lolzzz]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:06:31 GMT]]></title><description><![CDATA[<p>lolzzz schrieb:</p>
<blockquote>
<p>Neuer Highscore.<br />
Mit &lt;string&gt; inkludiert: 257 Zeilen.</p>
</blockquote>
<p>1. Es geht um Zei<strong>ch</strong>en.<br />
2. Was hat das mit den &lt;string&gt; zu tun? Das &quot;#include ...&quot; wird einfach mitgezählt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314580</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314580</guid><dc:creator><![CDATA[schroll]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:08:00 GMT]]></title><description><![CDATA[<p>266</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314581</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314581</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:09:12 GMT]]></title><description><![CDATA[<p>Nur mal so am Rande: <code>signed</code> und <code>unsigned</code> <em>gibt's nicht</em> in Verbindung mit <code>wchar_t</code> , <code>char16_t</code> , <code>char32_t</code> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314582</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:09:12 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:11:25 GMT]]></title><description><![CDATA[<blockquote>
<p>1. Es geht um Zeichen.</p>
</blockquote>
<p>Pardon, ich hab mich verschrieben - 2 Mal sogar. Ich meinte natürlich Zeichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314583</guid><dc:creator><![CDATA[lolzzz]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:11:25 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:16:07 GMT]]></title><description><![CDATA[<p>Neuer Highscore: 240 <strong>Zeichen</strong> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314584</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314584</guid><dc:creator><![CDATA[lolzzz]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:16:07 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Wed, 10 Apr 2013 20:22:32 GMT]]></title><description><![CDATA[<p>krümelkacker schrieb:</p>
<blockquote>
<p>Nur mal so am Rande: <code>signed</code> und <code>unsigned</code> <em>gibt's nicht</em> in Verbindung mit <code>wchar_t</code> , <code>char16_t</code> , <code>char32_t</code> .</p>
</blockquote>
<p>Was zum...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314589</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314589</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Wed, 10 Apr 2013 20:22:32 GMT</pubDate></item><item><title><![CDATA[Reply to Code-Golf: Generator für alle &amp;quot;cv integrale Werte&amp;quot; on Thu, 11 Apr 2013 14:22:11 GMT]]></title><description><![CDATA[<p>schroll schrieb:</p>
<blockquote>
<p>Erlaubt sind Programme in C89, C99 oder C11 sowie C++98, C++03 oder C++11. Das Programm muss dem jeweiligen Standard entsprechen, implementation-defined Behaviour, Extensions oder UB ist nicht erlaubt.</p>
</blockquote>
<p>Darf ich mich auf ASCII stützen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2314775</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2314775</guid><dc:creator><![CDATA[seldon]]></dc:creator><pubDate>Thu, 11 Apr 2013 14:22:11 GMT</pubDate></item></channel></rss>