The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

I was given a challenge for Perl; by caffine-iv2003-01-19 02:34:14
  Thats what I think about that... by Gorash 2003-01-19 02:59:05
You possibly could write a program in plain assembler that loads 2 values in the registers of a specific maschine... if that counts. If I remember right there was an instruction on some maschine that can do something like that... and if not, take your VHDL and make some by yourself, but thats definitly cheated...

Without that its just impossible to switch contents of variables without dealing with 2 of them in a single process, thats a mathematical fact.

And imho the solution printed above is the smartest way to do it... long live PERL :-)
[ Reply ]
    a, b, c integers will work using xor by SMcV2003-01-19 06:38:23
      s,y^x$,y^x */, by SMcV2003-01-19 06:39:49
      Xyzzy! by Beorn2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)