Search found 4 matches

by strongdrink
Thu Aug 22, 2013 10:51 pm
Forum: Challenges Solved
Topic: UpCount
Replies: 28
Views: 2522

java -Xss10m UpCount
by strongdrink
Wed Aug 21, 2013 1:32 am
Forum: Challenges Solved
Topic: Russian Dolls
Replies: 40
Views: 3207

Simple on *nix!

Code: Select all

mv doll.bin doll
while true; do mv doll doll.gz; gunzip doll.gz;done
It will just start outputting a bunch of gunzip errors when it is done :)
by strongdrink
Mon Aug 19, 2013 12:01 pm
Forum: Challenges Solved
Topic: The Powers That Be
Replies: 27
Views: 3090

Vim FTW!!
Use bc to calculate the number, then in vim:
l32dl (Repeat 16 times) :D
by strongdrink
Fri Sep 02, 2011 7:58 pm
Forum: Challenges Solved
Topic: Lorem Ipsum
Replies: 34
Views: 3779

I just whipped up a ksh script in 5 minutes that counts the occourances of each word (mind you its shotty and slow :P) #!/bin/ksh string=$@ set -A words $string for word in ${words[@]}; do count=0 for check in ${words[@]}; do if [[ "$check" = "$word" ]]; then let count=$count+1 f...