[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

QUICK WRITE A PROGRAM THAT SPLIT A STRING RANDOM NUMBER OF TIME

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 18
Thread images: 3

File: killer_crow.gif (64KB, 416x430px) Image search: [Google]
killer_crow.gif
64KB, 416x430px
QUICK WRITE A PROGRAM THAT

SPLIT A STRING RANDOM NUMBER OF TIME WITH A RANDOM CHAR EVERY 3 ASCII VALUE MULTIPLY FIRST TWO, DIVIDE BY THE THIRD REGENERATE NEW STRING FROM THAT THE OUTPUT ON SCREEN, IF IT GOES ON DOUBLE OR SINGLE NUMBER CUT THE OVERFLOW, IF IT GOES OVER ASCII TABLE DIVIDE BY 2 AGAIN

OR THIS BIRD IS GONNA STAB YOU
>>
weak
>>
>>55631938
repeat in english
>>
sick general op xD
>>
File: IMG_20160308_204024.jpg (2MB, 2448x3264px) Image search: [Google]
IMG_20160308_204024.jpg
2MB, 2448x3264px
What does that even mean
>>55631938
>>
>>55631938
Print(Rand())
>>
>>55631938

Holy fuck!!

Gimme two minutes..
>>
I'm not doing your homework again.
>>
>>55632641
this guy gets it.
>>
>>55631938
>QUICK DO MY HOMEWORK

Some fag is actually gonna do it
>>
>>55634265
I thought stack overflow was for homework.
>>
>>55631938
Done:
eval eval '"'.


('['^',').('`'|'(').('`'|')').('`'|',').('`'|'%').('{'^'[').'('.('^'^('`'|'/')).')'.('{'^"\[").'\\'.
'{'.('{'^'[').('!'^'+').('{'^'[').('{'^'[').('['^'+').('['^')').('`'|')').('`'|'.').('['^'/').("\{"^
'[').'\\'.'"'.('{'^'"').('`'|'/').('['^'.').('{'^'[').('`'|'!').('['^')').('`'|'%').('{'^'[').("\`"|
'!').('{'^'[').('`'|'.').('`'|')').('`'|"'").('`'|"'").('`'|'%').('['^')').'\\'.'\\'.('`'|'.').'\\'.
'"'.';'.('!'^'+').'\\'.'}'.'"';$:='.'^'~';$~='@'|'(';$^=')'^'[';$/='`'|'.';$,='('^'}';$\='`'|'!';#;#
>>
>>55631938
I normally like the stabby bird threads but this one is a blatant "do my HW /g/"
>>
>>55631938
Still asking /g/ to do your homework, I see.
And people are still falling for it, I see.
>>
>>55631938
what am I reading
>>
>blatant copycat of true knifebird
baka
>>
File: fucking_bird.png (33KB, 1443x451px) Image search: [Google]
fucking_bird.png
33KB, 1443x451px
>>55631938


God damnit, just let me live..

text = <<END
QUICK WRITE A PROGRAM THAT
SPLIT A STRING RANDOM NUMBER OF TIME WITH A RANDOM CHAR
EVERY 3 ASCII VALUE MULTIPLY FIRST TWO, DIVIDE BY THE THIRD
REGENERATE NEW STRING FROM THAT THE OUTPUT ON SCREEN,
IF IT GOES ON DOUBLE OR SINGLE NUMBER CUT THE OVERFLOW,
IF IT GOES OVER ASCII TABLE DIVIDE BY 2 AGAIN
OR THIS BIRD IS GONNA STAB YOU
END

text = text.split (65 + rand(25)).chr

text.map! do |s|
tmp = 0
s.split('').each_index do |i|
if i%3==2 then tmp += (s[i-2].ord * s[i-1].ord / s[i].ord) end
end
tmp
end

text.map! do |s|
while s > 90 do s/=2 end; s > 65 ? s.chr : " "
end

p text.join
>>
>>55631938

I don't even understand any of this post.
Thread posts: 18
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.