I'm gonna add myself to the current
motif. Decrypt this short text:
Code:
72<3>7=>3<47>55<8>3<6<8
It is fairly easy
so the best algo wins (shorter & faster).
is it a sentence? :x Gah! Im horrible at these
It is a sentence
is this the answer?
Code:
72<3>7=>3<47>55<8>3<6<8
if not i dont know >_>
I am asking you to decrypt my file.
C'mon, is it that hard?
I think it is fairly easy.
aha i know the algo. will post after my exam.... exam? **AAHHHH**
my exam in 15 mins....
Quote:Quote:72<3>7=>3<47>55<8>3<6<8
Code:
CLS
PRINT "HELLO WORLD"
END
*peace*
Meg.
Hey, that was not fair. You gave a serious hint and didn't give the algo to decrypt the text. Basicly, you ruined the challenge
Awwwww... Meeeeeeeeeeeeg!
Ah well, I was gonna give it a shot, and fail. But Nate, tell us, how the heck do we decrypt that anyway?
YEEHAW!
this is soooo messy, but hey...
Code:
'AHA!
CLS
s$ = "72<3>7=>3<47>55<8>3<6<8 "
FOR I = 1 TO LEN(s$)
a$ = MID$(s$, I, 1)
IF VAL(a$) <> 0 THEN
num$ = num$ + a$
ELSE
IF orig = 0 THEN orig = VAL(num$)
oldd$ = old$
old$ = a$
oldnum = num
num = VAL(num$)
num$ = ""
SELECT CASE oldd$
CASE ">"
new = new + num
CASE "<"
new = new - num
END SELECT
PRINT CHR$(new + orig);
END IF
NEXT