Difference between revisions of "explain xkcd:Sandbox"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Reverted edit by anti-bomb user)
m (trying to make this more text-efficient)
Line 1: Line 1:
βˆ’
πŸ’£πŸ’£__NOINDEX__
+
__NOINDEX__
 
Make changes, try things out, or just have fun with the wiki here!  Just leave everything above the line alone, please.
 
Make changes, try things out, or just have fun with the wiki here!  Just leave everything above the line alone, please.
 
[http://www.explainxkcd.com/wiki/index.php?title=explain_xkcd:Sandbox&action=edit&oldid=91667 clear sandbox]
 
[http://www.explainxkcd.com/wiki/index.php?title=explain_xkcd:Sandbox&action=edit&oldid=91667 clear sandbox]
 
------
 
------
βˆ’
dnhsbaprsqbaacxlemstzecxonglsnth
 
βˆ’
<table class="infobox vcard">
 
βˆ’
<tr><th colspan=2 class="fn" style="text-align:center; font-size:125%; font-weight:bold; background-color:#BCD4E6;">Natasha</th></tr>
 
βˆ’
<tr><td colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">[[File:Cueball.png|150px|alt=text]]
 
βˆ’
<div><center><i>Name</i></center></div></td></tr>
 
βˆ’
<tr class="{{{rowclass|}}}">
 
βˆ’
<th scope="row" style="text-align:left; line-height: 1.3em;">Born</th>
 
βˆ’
<td class="{{{class|}}}" style="line-height: 1.3em;">Unknown</td></tr></table>
 
  
βˆ’
<pre>#include <cstdio>
+
<span style="text-shadow:0 0 6px black">[[<span style="font-size:11pt;color:#dddddd">Cueball</span>]]</span> <sup><span style="text-shadow:0 0 3px #000000">[[<span style="font-size:8pt;color:#dddddd">Knit Cap</span>]]</span></sup>
βˆ’
int a[3]={0,0,0};
+
 
βˆ’
void acase(int b){
+
<span style="text-shadow:0 0 6px black;font-size:11pt;color:#dddddd">Cueball</span>]]</span> <sup><span style="text-shadow:0 0 3px #000000;font-size:8pt;color:#dddddd">Knit Cap</span>]]</span></sup>
βˆ’
if(b>=0)printf("case %d:",b);
 
βˆ’
}
 
βˆ’
void dcase(int d,int m=0){
 
βˆ’
printf("\t\t\t\t");m?printf(" "):0;acase(a[0]+d);acase(a[1]+d);acase(a[2]+d);m?printf("\n"):printf("printf(\"2$\");break;\n");
 
βˆ’
}
 
βˆ’
int main() {
 
βˆ’
dcase(9,1);
 
βˆ’
dcase(0);
 
βˆ’
dcase(10,1);
 
βˆ’
dcase(1);
 
βˆ’
dcase(2,1);
 
βˆ’
dcase(3,1);
 
βˆ’
dcase(6,1);
 
βˆ’
dcase(7,1);
 
βˆ’
dcase(11,1);
 
βˆ’
dcase(12,1);
 
βˆ’
dcase(17,1);
 
βˆ’
dcase(18);
 
βˆ’
dcase(14,1);
 
βˆ’
dcase(4);
 
βˆ’
dcase(15,1);
 
βˆ’
dcase(5);
 
βˆ’
dcase(8);
 
βˆ’
dcase(13);
 
βˆ’
dcase(19);
 
βˆ’
dcase(16,1);
 
βˆ’
dcase(20);
 
βˆ’
return 0;
 
βˆ’
}</pre>
 
βˆ’
Pau={{#expr:3*asin(1)}}
 
βˆ’
<pre>n = 0
 
βˆ’
for i in range((2 ** 13)):
 
βˆ’
    if (i % 4 == 0 or i < 2 ** 7):
 
βˆ’
        n += 1
 
βˆ’
print(n)</pre>
 

Revision as of 11:23, 18 April 2023

Make changes, try things out, or just have fun with the wiki here! Just leave everything above the line alone, please. clear sandbox


[[Cueball]] [[Knit Cap]]

Cueball]]</span> Knit Cap]]</span>