Editing explain xkcd:Sandbox
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | __NOINDEX__ | |
− | + | 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] |
− | + | ------ | |
− | < | + | 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> | |
− | + | int a[3]={0,0,0}; | |
− | + | void acase(int b){ | |
− | + | 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> |