Archived

This topic is now archived and is closed to further replies.

Antony Paul

The most complex piece of source code you have ever seen / written.

Recommended Posts

Surely not the most complex stuff I've written as I currently can't get to my old sources, but this one will have to do:

      
_addresource: movem.l d0-a6,-(sp)
clr.l (sp)
move.l a0,a2 ;ResourceTag
move.l d0,d2 ;ResourceType
move.l mrt_Code(a2),d3 ;ResourceCode
move.l a6,d7 ;Save ServerBase
syscall Forbid ;-Turn off multitasking ( 1)
move.l mrt_Type(a2),d0 ;The resource's type ( 2)
cmp.l d0,d2 ;Check if wanted type
bne.w _addresource.17 ;Not!
move.l d7,a6 ;ServerBase
cmp.l #mRTYP_LIST,d0 ;Is it a List?
beq.b _addresource.3a ;Yes
cmp.l #mRTYP_REG,d0 ;Is it a register?
beq.b _addresource.3b ;Yes
bra.w _addresource.17 ;Illegal type, quit!
_addresource.3a:lea msb_FirstList(a6),a0;Pointer to list-list ( 3)
lea msb_NumList(a6),a1;Pointer
moveq #mrl_SIZEOF,d5 ;Length of structure
bra.b _addresource.3x ;Jump
_addresource.3b:lea msb_FirstReg(a6),a0;Pointer to reg-list
lea msb_NumReg(a6),a1;Pointer
moveq #mrr_SIZEOF,d5 ;Length of structure
_addresource.3x:move.l a0,a5 ;Save it
move.l a1,d6 ;Save it
_addresource.3y:move.l (a0),d0 ;Any more?
beq.b _addresource.4 ;Not found!
move.l d0,a0 ;Copy
cmp.l mrn_Code(a0),d3 ;Is it the one?
beq.w _addresource.17 ;Yes, already present!
bra.b _addresource.3y ;Check next one
_addresource.4: cmp.b #VERSION,mrt_ServerLowVer(a2);Check version ( 4)
bhi.w _addresource.17 ;Error! To high requested!
blo.b _addresource.5 ;Not same version, dont check rev.
cmp.b #REVISION,mrt_ServerLowRev(a2);Check revision
bhi.w _addresource.17 ;Error! To high requested!
_addresource.5: move.l mrt_FunctionTable(a2),d0;FunctionTable? ( 5)
beq.w _addresource.17 ;Error! No function table!
move.l d0,a0 ;FunctionTable
moveq #-1,d0 ;Counter
move.l d0,d1 ;EndMarker
_addresource.5a:addq.l #1,d0 ;Increase counter
cmp.l (a0)+,d1 ;Check if end?
bne.b _addresource.5a ;No
move.l d0,d3 ;Save number of functions
mulu.w #6,d0 ;Size of JumpTable
move.l d0,d4 ;Save offset to base
add.l mrt_DataSize(a2),d0;-(p)Bytes ( 6)
lea msb_MemHeader0(a6),a0;-(p)MemHeader
move.l d7,a6 ;ServerBase
sbcall AllocMemNode ;-Allocate memory for jmp-table+data
tst.l d0 ;Check
beq.w _addresource.17 ;Error!
move.l d0,a3 ;Put it's mem in A3
move.l d5,d0 ;-(p)Bytes ( 7)
sbcall AllocMemNode ;-Allocate memory for structure
tst.l d0 ;Check
beq.w _addresource.22 ;Error!
move.l d0,a4 ;Put node in A4
move.l mrt_Code(a2),mrn_Code(a4); Load: Code ( 8)
move.l a3,mrn_Lower(a4); Load: Lower
add.l d4,a3 ;Get base
move.l a3,mrn_Base(a4); Load: Base
move.l a2,mrn_ResourceTag(a4); Load: ResourceTag
move.w d3,mrn_Functions(a4); Load: Functions
move.l mrt_Type(a2),mrb_Type(a3); Load: Type ( 8b)
move.l mrt_Code(a2),mrb_Code(a3); Load: Code
move.l a4,mrb_Node(a3); Load: Node
or.w #MRNF_Initialize,mrn_Flags(a4);Set initializing ( 9)
move.l a5,a0 ;-(p)FirstNodePtr
move.l a4,a1 ;-(p)ListNode
clr.l d0 ;-(p)Position
sbcall AddListNode ;-Attache it to list
move.l d6,d0 ;Pointer where to increase (10)
beq.b _addresource.11 ;None?
move.l d0,a0 ;Copy
addq.l #1,(a0) ;Increase NumberOf
_addresource.11:syscall Permit ;-Turn on multitasking (11)
move.l mrn_Base(a4),a0 ;The Base (12)
move.w mrn_Functions(a4),d0;Number of functions
subq.w #1,d0 ;Counter
bmi.b _addresource.13 ;Error!
move.l mrt_FunctionTable(a2),a1;FunctionTable
lea nof(pc),a3 ;NOFunction-Ptr
_addresource12a:move.l (a1)+,d1 ;Function
bne.b _addresource12b ;Okey
move.l a3,d1 ;NoFunction
_addresource12b:move.l d1,-(a0) ;Put Function-Address
move.w #$4EF9,-(a0) ;Put JMP-OpCode
dbra d0,_addresource12a;Loop...
_addresource.13:move.l mrn_Base(a4),a6 ;ResourceBase (13)
move.l d7,a0 ;-(p)ServerBase
jsr mRInit(a6) ;-Call Initialize-routine
tst.l d0 ;Success?
beq.b _addresource.18 ;Failed!!! (14)
or.w #MRNF_Ready,mrn_Flags(a4);Set ready-flag (15)
and.w #-1-MRNF_Initialize,mrn_Flags(a4);Clear initialize
move.l a4,(sp) ;Success/Result: mResourceNode (16)
bra.b _addresource.24 ;Done.!
_addresource.17:syscall Permit ;-Turn on multitasking (17)
bra.b _addresource.24 ;Quit!
_addresource.18:syscall Forbid ;-Turn off multitasking (18)
move.l d6,d0 ;Pointer where to decrease (19)
beq.b _addresource.20 ;None?
move.l d0,a0 ;Copy
subq.l #1,(a0) ;Decrease NumberOf
_addresource.20:move.l d7,a6 ;ServerBase (20)
move.l a4,a1 ;-(p)ListNode
sbcall RemListNode ;-Remove resource from list
lea msb_MemHeader0(a6),a0;-(p)MemHeader (21)
move.l a4,a1 ;-(p)Address
move.l mrn_Lower(a4),a3;Address to "base"
sbcall FreeMemNode ;-Free memory for structure
_addresource.22:move.l d7,a6 ;ServerBase (22)
lea msb_MemHeader0(a6),a0;-(p)MemHeader
move.l a3,a1 ;-(p)Address
sbcall FreeMemNode ;-Free memory for "base"
syscall Permit ;-Turn on multitasking (23)
_addresource.24:movem.l (sp)+,d0-a6
rts

EDIT: PS. That was Motorola 680x0 assembly. Could also add this nice Perl statement, which is the main "loop" that parse an embedded scripting language (my own) in HTML templates, kinda nice

## Evaluate it by substituting each instance of script with the evaluation of it
$buf =~ s/
% # Start of in-line
([A-Za-z]*) # Eventual type identifier (is stored in $1). Only alpha characters!
{\s* # Expression's opening brace and white space
( # Entire expression stored in $2
( ## Match...
.*? ### Zero or more Any-characters
(\\}%)* ### Zero or more escaped closing brace
.*? ### Zero or more Any-characters
)*? ## ...zero or more times
) #
\s*}% # White space and closing brace; end of in-line
/ # Replace with...
eval {
## No specific script type, that is, BScript?
if(not $1) { return join("",&BFront::BScript::Evaluate($2, $_[2], $_[3], $_[4], 0));}
## ...is it perl then?
elsif(lc($1) eq 'perl') { return join("",eval($2)); }
## Hm, unknown type...
else { return "Unknown script type '$1'!"; }
}
/egsx;


[edited by - CWizard on August 31, 2002 5:58:24 PM]

Share this post


Link to post
Share on other sites
The most complicated code I''ve ever written is my stupid command bar control. It''s a replacement for toolbars and menus, and the code is plain aggravating >:0 Changing minor things breaks things everywhere, and a lot of the bugs depend on mouse and keyboard input, so it''s a bitch to debug on a single computer.

I''d post it here, but it''s way too big. I do plan on writing an article about it for CodeProject, but it''s just so confusing internally that I''m not sure if anyone would want to use it.

It does have a nice and simple outside interface, though :D

Since any obfuscated code will look confusing and complicated, I think we should limit this topic to functional code that wasn''t purposely obfuscated.

Share this post


Link to post
Share on other sites
Here''s the most complicated code I''ve ever written:

#include <iostream>

int main()
{
std::cout "Hello World!\n"

return 0;

}


AND IT DOESN''T EVEN WORK, LOL

Share this post


Link to post
Share on other sites
I wrote a particle system for java today that was pretty complicated and involved (4.48K) so I won''t include it but...

Wow, most complex piece of code I''ve ever written. Still have to do a software layer between the particles and controlling them (I want a macro-management interface so I can script it better)

Gosh, I''ve never written anything this big before that didn''t have 10^100 errors....

If programming in Perl is the closest I can come to technomancy, so be it *pouts*

Lord of the Morning.

Official Member of the Ichibanme Bakana Gaijin club.

Share this post


Link to post
Share on other sites
I have never written incredibly dilapidated, non understandable, even after 30 minutes of staring at it, type of code. Some of my code is occasionally overly long and at the same time very condensed; but never to a lack of any quick understanding of it''s purpose and eventual understanding of how it accomplishes that.

Share this post


Link to post
Share on other sites
quote:
Original post by Beer Hunter
this


Dear God, I think that one should win first prize. Besides being insanely complex and well nearly impossible to understand, it somehow turns out to be ascii art of a 3D bar graph !!!!!



_____________________________

And the Phoenix shall rise from the ashes...

--Thunder_Hawk -- ¦þ
______________________________


[edited by - Thunder_Hawk on September 1, 2002 3:15:29 AM]

Share this post


Link to post
Share on other sites
quote:
Original post by Furion
Here''s the most complicated code I''ve ever written:

#include <iostream>

int main()
{
std::cout "Hello World!\n"

return 0;

}


AND IT DOESN''T EVEN WORK, LOL



Try

std::cout << "Hello World!\n";

You were missing the bitshift operator and the semicolon

Ken Murphy

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
"Hello world", in <A HREF=http://www.mines.edu/students/b/bolmstea/malbolge/>Malbolge</A> (from <A HREF=http://www.acooke.org/andrew/writing/malbolge.html>here</A>:


  

(=<`$9]7<5YXz7wT.3,+O/o''K%$H"''~D|#z@b=`{^Lx8%$Xmrkpohm-kNi;gsedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543s+O<oLm



The "99 bottles of beer" program in <A=HREF=http://www.muppetlabs.com/~breadbox/bf/>Brainfuck</A> is pure evil (taken from <A HREF=http://99-bottles-of-beer.ls-la.net/b.html>here</A>:


  

>+++++++++[<+++++++++++>-]<[>[-]>[-]<<[>+>+<<-]>>[<<+>>-]>>>
[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]>[<+>-]>[<<++++++++++>>>+<
-
]<<-<-]+++++++++>[<->-]>>+>[<[-]<<+>>>-]>[-]+<<[>+>-<<-]<<<
[>>+>+<<<-]>>>[<<<+>>>-]>[<+>-]<<-[>[-]<[-]]>>+<[>[-]<-]<+++
+++++[<++++++<++++++>>-]>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-
]<<<<<<.>>[-]>[-]++++[<++++++++>-]<.>++++[<++++++++>-]<++.>+
++++[<+++++++++>-]<.><+++++..--------.-------.>>[>>+>+<<<-]>
>>[<<<+>>>-]<[<<<<++++++++++++++.>>>>-]<<<<[-]>++++[<+++++++
+>-
]<.>+++++++++[<+++++++++>-]<--.---------.>+++++++[<------
---->-
]<.>++++++[<+++++++++++>-]<.+++..+++++++++++++.>++++++
++[<---------->-]<--.>+++++++++[<+++++++++>-]<--.-.>++++++++
[<---------->-]<++.>++++++++[<++++++++++>-]<++++.-----------
-.---.>+++++++[<---------->-]<+.>++++++++[<+++++++++++>-]<-.
>++[<----------->-]<.+++++++++++..>+++++++++[<---------->-]<
-----.---.>>>[>+>+<<-]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>>+++
+[<++++++>-]<--.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.
><+++++..--------.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++
++++++++++++.>>>>-
]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<++
+++++++>-
]<--.---------.>+++++++[<---------->-]<.>++++++[<++
+++++++++>-
]<.+++..+++++++++++++.>++++++++++[<---------->-]<
-.---.>+++++++[<++++++++++>-]<++++.+++++++++++++.++++++++++.
------.>+++++++[<---------->-]<+.>++++++++[<++++++++++>-]<-.
-.---------.>+++++++[<---------->-]<+.>+++++++[<++++++++++>-
]<--.+++++++++++.++++++++.---------.>++++++++[<---------->-]
<++.>+++++[<+++++++++++++>-]<.+++++++++++++.----------.>++++
+++[<---------->-]<++.>++++++++[<++++++++++>-]<.>+++[<----->
-
]<.>+++[<++++++>-]<..>+++++++++[<--------->-]<--.>+++++++[<
++++++++++>-
]<+++.+++++++++++.>++++++++[<----------->-]<++++
.>+++++[<+++++++++++++>-]<.>+++[<++++++>-]<-.---.++++++.----
---.----------.>++++++++[<----------->-]<+.---.[-]<<<->[-]>[
-
]<<[>+>+<<-]>>[<<+>>-]>>>[-]<<<+++++++++<[>>>+<<[>+>[-]<<-]
>[<+>-]>[<<++++++++++>>>+<-]<<-<-]+++++++++>[<->-]>>+>[<[-]<
<+>>>-]>[-]+<<[>+>-<<-]<<<[>>+>+<<<-]>>>[<<<+>>>-]<>>[<+>-]<
<-[>[-]<[-]]>>+<[>[-]<-]<++++++++[<++++++<++++++>>-]>>>[>+>+
<<-
]>>[<<+>>-]<[<<<<<.>>>>>-]<<<<<<.>>[-]>[-]++++[<++++++++>
-
]<.>++++[<++++++++>-]<++.>+++++[<+++++++++>-]<.><+++++..---
-----.-------.>>[>>+>+<<<-]>>>[<<<+>>>-]<[<<<<++++++++++++++
.>>>>-
]<<<<[-]>++++[<++++++++>-]<.>+++++++++[<+++++++++>-]<-
-.---------.>+++++++[<---------->-]<.>++++++[<+++++++++++>-]
<.+++..+++++++++++++.>++++++++[<---------->-]<--.>+++++++++[
<+++++++++>-
]<--.-.>++++++++[<---------->-]<++.>++++++++[<++
++++++++>-
]<++++.------------.---.>+++++++[<---------->-]<+.
>++++++++[<+++++++++++>-]<-.>++[<----------->-]<.+++++++++++
..>+++++++++[<---------->-]<-----.---.+++.---.[-]<<<]



or ROT13 in <A HREF=http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/>Unlambda</A> (taken from <A HREF=http://www.miranda.org/~jkominek/rot13/unlambda/>here</A>:


  

# A simple rot-13 program.
# Copyright: Jan 30 2002 by Ørjan Johansen.
# License: See the file COPYING for GPL Version 2 or later.

```sii ``s ``s ``s `d`k ``@i c `k
``s ``s `d `?A i `k .N ``s ``s `d `?a i `k .n
``s ``s `d `?B i `k .O ``s ``s `d `?b i `k .o
``s ``s `d `?C i `k .P ``s ``s `d `?c i `k .p
``s ``s `d `?D i `k .Q ``s ``s `d `?d i `k .q
``s ``s `d `?E i `k .R ``s ``s `d `?e i `k .r
``s ``s `d `?F i `k .S ``s ``s `d `?f i `k .s
``s ``s `d `?G i `k .T ``s ``s `d `?g i `k .t
``s ``s `d `?H i `k .U ``s ``s `d `?h i `k .u
``s ``s `d `?I i `k .V ``s ``s `d `?i i `k .v
``s ``s `d `?J i `k .W ``s ``s `d `?j i `k .w
``s ``s `d `?K i `k .X ``s ``s `d `?k i `k .x
``s ``s `d `?L i `k .Y ``s ``s `d `?l i `k .y
``s ``s `d `?M i `k .Z ``s ``s `d `?m i `k .z
``s ``s `d `?N i `k .A ``s ``s `d `?n i `k .a
``s ``s `d `?O i `k .B ``s ``s `d `?o i `k .b
``s ``s `d `?P i `k .C ``s ``s `d `?p i `k .c
``s ``s `d `?Q i `k .D ``s ``s `d `?q i `k .d
``s ``s `d `?R i `k .E ``s ``s `d `?r i `k .e
``s ``s `d `?S i `k .F ``s ``s `d `?s i `k .f
``s ``s `d `?T i `k .G ``s ``s `d `?t i `k .g
``s ``s `d `?U i `k .H ``s ``s `d `?u i `k .h
``s ``s `d `?V i `k .I ``s ``s `d `?v i `k .i
``s ``s `d `?W i `k .J ``s ``s `d `?w i `k .j
``s ``s `d `?X i `k .K ``s ``s `d `?x i `k .k
``s ``s `d `?Y i `k .L ``s ``s `d `?y i `k .l
``s ``s `d `?Z i `k .M ``s ``s `d `?z i `k .m
| i i



Anything coded in one of the above languages can be considered "the most complex piece of code I''ve ever seen".

Of course none of them was designed to be usable. They''re mostly weird experiments and only interesting from an academic point of vue (or for the fun, if you''re a masochist ).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Oops, I guess HTML won''t work unless I''m logged in. Sorry about that (one of the anchors was broken anyway).

Share this post


Link to post
Share on other sites
Just about every Rijndael implementation I''ve seen confuses me something chronic. In fact, most crypto algorithms tend to be confusing.

Maybe it''s just me

Tom

Share this post


Link to post
Share on other sites
Another 99 Bottles of Beer program.

See http://www.azstarnet.com/~jeffryj/hanoi.txt for an explanation of
this crude language.

This is originally one single line.


  
..,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......
''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''.....,...''....,...`.''......,!...;..,.''.....''..,''...:..,...''....
..''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;..
,.''...,.''.....''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,...`.
''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...''....
.,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,..
.`.''......,!...;..,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''...,.;''...,.;''....,.''.....''..,''...:..,...''.....,...''.....,...''...,.;''..
.,.''...,.''.....''..,''...:..,...''...,.;''.....,...''......''..,''...:.,...`.''....
..,!...;..,.''...,.''...,...`.''......,!...;...,...''......''..,''...:.,.''..,.;''..
...,...''....,...`.''......,!...;...,...''......''..,''...:.,.''...,.''..,.;''...,.;
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...
''.....,...''...,.;''....,.''...,...`.''......,!...;..,.''...,.''...,...`.''....,.''.
..,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''.....,...''......''..,''...:.,.''...,...`.''.....,...''....,...`.''......,!..
.;...,...''.....,...''...,.;''.....,...''......''..,''...:.,.''.....''..,''...:.,...`
.''......,!...;..,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''....
..,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''....,.''...,.''.....''.
.,''...:..,...''...,.;''.....,...''....,...`.''....,.''...,.''...,...`.''......,!...
;..,.''...,.''...,.''.....''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''...
.,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,
''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!
...;...,...''......''..,''...:.,.''..,.;''.....,...''....,...`.''......,!...;..,.''.
..,.''...,...`.''......''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.
''.....''..,''...:.,...`.''......,!...;....,!...;...,...''.....,...''...,.;''....,.
''.....''..,''...:..,...''......''..,''...:.,...`.''......,!...;..,.''...,...`.''....
..,!...;..,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''.
.,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,.''..,.;''...,.;''...,
.;''...,.;''...,.;''...,.;''.....,...''.....,...''....,...`.''......,!...;...,...''.
....,...''.....,...''......''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,
.''...,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''...
..,...''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''.
..,.''...,.''...,''"''.....,...''.....,...''.....,...''.....,...''.....,...''....,...
`.''......,!...;..,.''...,.''...,.''...,.''...,.''...,.''...,''"
''.....,...''.....,...
''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......,!.
..;.,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''....
.,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''
...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.
,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.
...,...`.''......,!...;..,.''...,''"''.....,...''....,.''..,.;''...,.;''...,.;''...,.
;''...,.;''....,''"
''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''....,''"
''....,...`.''....,...`.''....,...`
.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,...''..
....''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...,.''...,.''...
,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,.''...,.''...,
''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''.....''..,''
...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"
''.....,...''.....,...''.
....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''.....''..,''.
..:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,
.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`
.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.
;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''
....,...`.''....,''"
''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''...
.,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''..
.,...`.''.....,...''....,...`.''......,!...;..,.''...,''"
''.....,...''...,.;''...,.
;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......
,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,''"''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''
"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''.
.,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''
....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...
;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''.
..,...`.''....,...`.''....,''"
''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.
''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`
.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''....,''"
''....
.,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...
:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
...,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"''....,
...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....
,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"
''....,...`.''....,.
..`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''
...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,..
.`.''......,!...;..,.''..,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...
;..,.''...,...`.''....,''"''.....,...''...,.;''...,.;''......''..,''...:.,.''...,...`.
''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`
.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...
,''"
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''....,''"''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,
...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,...`.''....,...`.''.
...,...`.''....,''"''....,...`.''....,...`.''....,...`.''....,''"''.....,...''.....,.
..''.....,...''......''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''...,
...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,...
''.....,...''....,...`.''......,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''.
.,.''...,''"''.....,...''.....,...''.....,...''.....,...''.....,...''....,...`.''...
...,!...;..,.''...,.''...,.''...,.''...,.''...,.''...,''"
''.....,...''.....,...''.....
,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,
.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''
....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...
;..,.''..,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''....
..''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;
''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''....,.''..,.;''...,.;''
...,.;''...,.;''...,.;''....,''"
''....,''"''....,...`.''....,...`.''....,...`.''....,.
..`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"
''....,...`.''....,...
`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''
.....,...''......''..,''...:..,...''.....,...''...,.;''.....,...''...,.;''....,.''...
,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''......''..,''...:.,
.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''......,!...;..,
.''.....''..,''...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,
.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"
''.....,...
''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.
''.....''..,''...:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''...,.;''.....
''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,.
..''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,
.''...,...`.''....,...`.''....,''"
''....,...`.''....,...`.''....,...`.''....,...`.''.
...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,
.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.
...,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"
''.....,...''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,
...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,''"''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,
...''....,...`.''......,!...;..,.''...,...`.''....,''"''....,...`.''....,...`.''....
,...`.''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
...''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,
.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''.
...,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''...,.;''....,''"
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,
.;''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''
....,...`.''....,...`.''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''.
...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''.
...,...`.''......,!...;..,.''..,.;''....,''"''.....,...''...,.;''...,.;''...,.;''...,
.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;
..,.''...,...`.''....,''"
''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''.
...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"
''...
..,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''.
..,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.
...,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''
....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..
,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,
.;''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"
''...,.;
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,
''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,''"''....,...`
''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...
`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''..
..,...`.''......,!...;..,.''..,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.
;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......
,!...;..,.''...,''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''....,''"
''....,...`.''....,...`.''....,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.
...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,
''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;.
.,.''..,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''....
.,...''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`
.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''"
''.....,.
..''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;
''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''....,''"''.....,...''...,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.
''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.
''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,
...`.''....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
...''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.
;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...,.;''....,''"
''.
..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''
....,''"''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
....''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,
...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,
...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''....,''"
''.....,...''...,.;''.
..,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,.
..`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''......''..,''...:.
,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...
;..,.''...,...`.''....,''"
''....,...`.''....,...`.''....,...`.''....,''"''...,.;''...,
.;''...,.;''...,.;''...,.;''...,.;''....,''"
''....,...`.''....,...`.''....,...`.''....
,...`.''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,.
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,
...`.''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.
''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...
''....,...`.''......,!...;..,.''..,.;''....,''"''....,...`.''....,...`.''....,...`.''
....,''"
''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''...,...`.''.....,
...''......''..,''...:.,...`.''......,!...;...,...''......''..,''...:.,...`.''......
,!...;..,.''...,.''.....''..,''...:..,...''...,.;''.....,...''...,.;''....,.''...,.''.
..,...`.''......,!...;...,...''.....,...''......''..,''...:.,.''...,.''..,.;''.....,
...''.....,...''....,...`.''......,!...;...,...''.....,...''.....,...''......''..,''
...:.,...`.''......,!...;..,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''...,.;''...,.;''....,.''.....''..,''...:..,...''.....,...''.....,...''.
..,.;''....,.''...,.''.....''..,''...:..,...''...,.;''.....,...''......''..,''...:.,..
.`.''......,!...;..,.''...,.''...,...`.''......,!...;...,...''......''..,''...:.,.''
..,.;''.....,...''....,...`.''......,!...;...,...''......''..,''...:.,.''...,.''..,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.
....,...''.....,...''...,.;''....,.''...,...`.''......,!...;..,.''...,.''...,...`.''
....,.''...,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''
..,.;''...,.;''.....,...''......''..,''...:.,.''...,...`.''.....,...''....,...`.''..
....,!...;...,...''.....,...''...,.;''.....,...''......''..,''...:.,.''.....''..,''..
.:.,...`.''......,!...;..,.''...,.''..,.;''.....,...''.....,...''.....,...''....,..
.`.''......,!...;...,...''......''..,''...:.,...`.''......,!...;.,.;''....,.''...,.
''.....''..,''...:..,...''...,.;''.....,...''....,...`.''....,.''...,.''...,...`.''...
...,!...;..,.''...,.''...,.''.....''..,''...:..,...''.....,...''...,.;''.....,...''..
.,.;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''..
....''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''
......,!...;..,.''....,...''.....,...''......''..,''...:.,.''..,.;''.....,...''....,
...`.''......,!...;..,.''...,.''...,...`.''......''..,''...:..,...''......''..,''...:
.,...`.''......,!...;..,.''.....''..,''...:.,...`.''......,!...;....,!...;...,...
''.....,...''...,.;''....,.''.....''..,''...:..,...''......''..,''...:.,...`.''......,
!...;..,.''...,...`.''......,!...;..,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.
;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''
....,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''.....,...''....,...
`.''......,!...;...,...''.....,...''.....,...''......''..,''...:..,...''...,.;''....
.,...''...,.;''....,.''...,.''...,...`.''......,!...;...,...''.....,...''......''..,
''...:.,.''...,.''..,.;''.....,...''.....,...''....,...`.''......,!...;..,.''.....''.
.,''...:.,.''...,.''...,.''...,.''...,.''...,''"''.....,...''.....,...''.....,...''....
.,...''.....,...''....,...`.''......,!...;..,.''...,.''...,.''...,.''...,.''...,.''..
.,''"
''.....,...''.....,...''......''..,''...:.,...`.''......,!...;...,...''......''.
.,''...:.,...`.''......,!...;.,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.
;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''....
..,!...;..,.''...,''"''.....,...''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.
''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.
''......,!...;..,.''..,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;
''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.
..,.;''...,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''....,.''.
.,.;''...,.;''...,.;''...,.;''...,.;''....,''"
''....,''"''....,...`.''....,...`.''....,
..`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"
''....,..
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''
"''.....,...''.....,...''......''..,''...:..,...''.....,...''...,.;''.....,...''...,.
;''....,.''...,.''...,.''...,...`.''......,!...;...,...''.....,...''.....,...''.....
.''..,''...:.,.''...,.''...,.''..,.;''.....,...''.....,...''.....,...''....,...`.''...
...,!...;..,.''.....''..,''...:.,.''...,.''...,.''...,.''..,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''....,
''"
''.....,...''.....,...''.....,...''.....,...''....,...`.''......,!...;..,.''...,.
''...,.''...,.''.....''..,''...:.,...`.''......,!...;...,...''...,.;''...,.;''...,.;''
...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''..
.,.;''.....,...''....,...`.''......,!...;..,.''...,''"''.....,...''...,.;''...,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''...,
.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,...`.''...
...,!...;..,.''...,...`.''....,...`.''....,''"
''....,...`.''....,...`.''....,...`.''
....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,''"''..
...,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''
...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''
....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,''
"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,
.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
..,...''....,...`.''......,!...;..,.''...,''"''...,.;''...,.;''...,.;''....,''"''....,
''"''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...
,.;''...,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.
;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`
.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,..
.''....,...`.''......,!...;..,.''...,...`.''....,...`.''....,''"''.....,...''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''.
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,...''....,
...`.''......,!...;..,.''...,...`.''....,...`.''....,''"
''....,...`.''....,''"''.....
,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:
.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''.
.,.;''...,.;''....,''"
''.....,...''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,
.;''...,.;''......''..,''...:.,.''..,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''...,.;''.....,...''....,...`.''......,!...;..,.''..,.;''...,.;''...
,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''..
..,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.
...,''"
''....,...`.''....,...`.''....,...`.''....,''"''.....,...''...,.;''...,.;''...,
.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,...`.''....,
...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....
,...`.''.....,...''....,...`.''......,!...;..,.''..,.;''....,''"
''.....,...''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''..,.;''..
.,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''.....,..
.''....,...`.''......,!...;..,.''...,...`.''....,''"''.....,...''...,.;''...,.;''....
..''..,''...:.,.''...,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,..
.`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''.....,...''....,..
.`.''......,!...;..,.''...,''"
''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''...,.;
''...,.;''...,.;''...,.;''...,.;''....,''"''....,''"''.....,...''...,.;''...,.;''...,.;''
...,.;''...,.;''...,.;''...,.;''...,.;''...,.;''......''..,''...:.,.''...,...`.''....,
...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....,...`.''....
,...`.''....,...`.''.....,...''....,...`.''......,!...;..,.''...,...`.''....,...`.
''....,...`.''....,...`.''....,...`.''....,''"''....,...`.''....,...`.''....,...`.''.
...,''"
''...,.;''...,.;''...,.;''....,''"''....,...`.''....,...`.''....,...`.''....,''"
''......''..,''...:.,...`.''......,!...;..,.''...,.''...,.''.....,!...;.

Share this post


Link to post
Share on other sites
I had to write a system where various ranges in memory on a chip were to be polled at given time intervals, but the actual interrogation of the chip (via serial IO) was a huge bottleneck since the chip was slow. So I wrote an algorithm that would query blocks of memory at a time if it detected that one or more blocks were close enough to each other to query them all at once, and then dispatch the peeked information back to the packets. I commented as well as I could, but it still took a while to get through code review.

Share this post


Link to post
Share on other sites
Heh, I had almost forgotten about novelty/esoteric languages. Here's a program that draws an inverted pyramid out of asterisks, written in Brainfsck:

++++++++++>++++++++++>>++
+ +
+ +++ ++> +++ +++ +
+ +++ +++ +++ +++ +
+ +++ +++ +++ +++ +
+ +++++++++ +++ +++ +
+ +++ +++ +++ +++ +
+ +++ +++ +++ +
+ +++ +++ +++ +++ +
+ +++ +++ +++ +++ +
+ +
+++++++++++++++++++<<<<[>
[>+<-]>[>>.<<<+>-]>.<<-<-]


[edited by - zealouselixir on September 1, 2002 3:08:51 PM]

Share this post


Link to post
Share on other sites