em Posted January 24, 2014 Report Posted January 24, 2014 Afisati numarul 196 in consola fara a folosi cifre in comanda.$ echo [b]magicstring[/b]196Nu fiti gay. Nu chemati alte scripturi. Cea mai scurta comanda sa castige Quote
Gio33 Posted January 24, 2014 Report Posted January 24, 2014 echo random ? la un moment dat o sa afiseze si 196 Quote
em Posted January 24, 2014 Author Report Posted January 24, 2014 Pai, fa asa. Pune un intreg while intr-o subcomanda in acel echo. Dar cum compari cu 196 daca nu ai voie sa il scrii? Si nici nu va fi prea scurta. Quote
aelius Posted January 24, 2014 Report Posted January 24, 2014 (edited) marian@pluto:~$ wtf196)// edit: a, nu ai voie sa-l scrii, hahahaDe ce ? Pentru ca rstmarian@pluto:~$ rst196Cum de afisaza ?marian@pluto:~$ function rst() { echo "`echo MTk2Cg== |base64 --decode`"; }; marian@pluto:~$ rst196erau si alte metode, cred ca mai simple Edited January 24, 2014 by aelius Quote
em Posted January 24, 2014 Author Report Posted January 24, 2014 marian@pluto:~$ function rst() { echo "`echo MTk2Cg== |base64 --decode`"; }; marian@pluto:~$ rst196Ai un 2 in comanda. + 64 Quote
em Posted January 24, 2014 Author Report Posted January 24, 2014 Heh. Din pacate eu nu am acel t. Hai sa ne limitam la chestii pe care le gasim pe orice distro de linux. Quote
Zatarra Posted January 24, 2014 Report Posted January 24, 2014 [root@optimusprime ~]# function rst() { echo "`printf 'b' |od -A n -t d`+`printf 'b' |od -A n -t d`" |bc; };[root@optimusprime ~]# rst196[root@optimusprime ~]#Am sa incerc si mai scurt. Quote
1337 Posted January 24, 2014 Report Posted January 24, 2014 grep -o "a" <<<"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | wc -l Quote
blech Posted January 24, 2014 Report Posted January 24, 2014 printf "%d\n" \'Äla mine codul tau da 195[root@shaorma ~]# printf "%d\n" \'Ä195[root@shaorma ~]# Quote
Active Members dancezar Posted January 24, 2014 Active Members Report Posted January 24, 2014 (edited) bc=$(printf "%d" "'b")echo $((bc+bc))codu ascii lu b inmultit cu 2//cu 2 caractere mai putinb=$(printf "%d" "'b")echo $((b+) Edited January 24, 2014 by danyweb09 Quote
Zatarra Posted January 24, 2014 Report Posted January 24, 2014 bc=$(printf "%d" "'b")echo $((bc+bc))codu ascii lu b inmultit cu 2//cu 2 caractere mai putinb=$(printf "%d" "'b")echo $((b+)Credits to Zatarra Quote
Active Members dancezar Posted January 24, 2014 Active Members Report Posted January 24, 2014 Credits to Zatarra scuze Zatarra nu am vazut ca ai postat ,aproape acelasi chestie.//Credis to Zatarra Quote
Zatarra Posted January 24, 2014 Report Posted January 24, 2014 scuze Zatarra nu am vazut ca ai postat ,aproape acelasi chestie.//Credis to ZatarraO mica adaptare la codul tau echo `printf "%d+%d" \'b \'b` |bc Quote
em Posted January 26, 2014 Author Report Posted January 26, 2014 Heh. Eu ma gandisem la echo $(date +%y) \* $(date +%y) |bcMacar pana la anu ... Quote
Zatarra Posted January 26, 2014 Report Posted January 26, 2014 Heh. Eu ma gandisem la echo $(date +%y) \* $(date +%y) |bcMacar pana la anu ... Banuiesc ca idea era sa nu depinda de nimic Quote
em Posted January 26, 2014 Author Report Posted January 26, 2014 Winner?Pai E*D+E = E(D+1) = E*Eecho "E*E"|bc Quote
tromfil Posted January 26, 2014 Report Posted January 26, 2014 Ah, f?cusem pentru 197 ?i v?zusem c? e prim. Pwned. De?i...echo E*E|bc6 chars. Amin! Quote
B7ackAnge7z Posted January 30, 2014 Report Posted January 30, 2014 <offtopic/>Dac? postai concursul pe 15 iulie, probabil câ?tigam eu date +%j Quote