[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: OT: Competição de Programação



Pois é.. também estou curioso.

Ainda não descobri o que fazer com o código.




Em 04/04/07, Rodrigo < rodrigoredes@gmail.com> escreveu:
Bom, se quiser entregar o jogo e falar... ou deixar uma pista a mais pros q gostam de desafios... acredito q poucos se interessam na Arena mesmo, mas sim de saber como foi solucionado o problema...

Eu vou estar lá, mas pra tentar a LPI e olhar as palestras

Quem sabe eu não te veja lá queimando uns neurônios...
=]

Abraçoe boa sorte no concurso!


Em 04/04/07, brinvertia < brinvertia@myway.com> escreveu:

Salve!

Eu consegui!!! É bem mais fácil do que parece (como tudo, depois que
descobrimos). Boa sorte a todos ... Vejo vocês na arena.

Braz

> Em Wed, 4 Apr 2007 00:17:08 -0300, Bruno Schneider escreveu:
>
> // This work is hereby released into the Public Domain. To view a copy of the public domain dedication, visit http://creativecommons.org/licenses/publicdomain/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
> // origin: 2000-01-08 nospam@geht.net http://tools.geht.net/rot13.html<oe />
> // Use at own risk.
> var last="";
> var rot13map;
> // The problem is that _javascript_ 1.0
> // does not provide a Char to Numeric value conversion
> // Thus we define a map.
> // Because there are 64K UniCode characters, this map does not cover all characters.
> function rot13init()
> {
> var map = new Array();
> var s = "abcdefghijklmnopqrstuvwxyz";
> for (i=0; i<s.length; i++)
> map[s.charAt(i)] = s.charAt((i+13)%26);
> for (i=0; i< s.length; i++)
> map[s.charAt(i).toUpperCase()] = s.charAt((i+13)%26).toUpperCase();
> return map;
> }
> function rot13(a)
> {
> if (!rot13map)
> rot13map=rot13init();
> s = "";
> for (i=0; i<a.length; i++)
> {
> var b = a.charAt(i);
> s += (b>='A' && b<='Z' || b>='a' & b<='z' ? rot13map[b] : b);
> }
> return s;
> }
> function upd()
> {
> if (document.forms[0].text.value==last)
> return;
> last = document.forms[0].text.value;
> document.forms[0].rot13.value = rot13(last);
> }
>
> E agora, o q c faz com isto?
> :P
>
> Chama um hacker
> =]
>
>
> Em 03/04/07, Bruno Schneider < boschneider@gmail.com> escreveu:
> >  On 4/2/07, Fabiano Pires wrote:
> >  > Se ajudar vocês, o texto no meio do html está em ROT13
>
> >  Eu não vou participar, mas fiquei curioso. Depois de converter o
> >  texto, você tem código _javascript_ para fazer rot13, mas e daí? No que
> >  isso ajuda a fazer a inscrição?
>
> >  --
> >  Bruno Schneider
> >   http://www.dcc.ufla.br/~bruno/


_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





--
Gerson Henrique Diesel
MSN - gersondiesel@hotmail.com
Reply to: