Post the source code of your implementation. It should at least read the input from stdin and print a sorted list after making the comparisons.
Deadline: 2013-01-21 00:00.
The programs will be judged by elegance, speed and number of comparisons made using a random list that will be published the day of the deadline. The winner will be awarded with Ten (10) שקליםSuss (that's Suss-shekels for you goyim), which is enough to pay the fee needed to cross the Sanzu River by ferry.
LELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
EJPIN 2HU THRAD JPROS!
I CANT WAIT 2 MOVE 2 JAPNA!
FIRST I NEED 2 LERN THE LANGUANEG XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
LEL IM SUCH A NEEET XXDDDDDDDDDD
>EJPIN
>EJPIN
>EJPIN
>EJPIN
Name:
Anonymous2013-01-07 19:26
>>11
OP here. The program should receive the list of things you want to compare. That way, you can sort your preferences for fruits, movies or Jewish runes. The Touhou thing is just an example, this is the only ``comparator'' of this kind I know.
Also, no need to act like an imageboard frequenters ironically when you can participate and win the exclusive Suss-shekels.
Most of /jp/ are ``such a neet XD'' like you say. But a good bunch of /jp/ knows Japanese and would go to Japan only for touristic purposes. They hate the ``I CANT WAIT 2 MOVE 2 JAPNA!'' crowd, so I don't really understand why you're mocking them like that. They also hate that /b/-style posting you just used. If anything, /g/, /v/ or /a/ are the ones who love that posting style, not them.
>>12-13
How about you retards ignore the troll once and for all and stop replying to his Reddit ramblings? He will eventually get tired of it. Trust me, I've been here since before >>11 was born.
Hi all, I'm >>11's brother, here to apologize for the inconvenience. You see, >>11 recently escaped from the local senior's leatherman dungeon where he's the resident gimp boy. We're working on apprehending him and returning him to his natural homosexual habitat, so bear with us.
Name:
Anonymous2013-01-07 19:54
>>15
It's funny because you said ``bear'' with us and there are hairy faggots who call themselves bears.
In any case, let's not shit up the thread, I haven't seen a /prog/ challenge in a good while. This may not be as interesting as other challenges but I'll probably give it a try. I really need to ``derust'' my Lisp skills.
Name:
Anonymous2013-01-07 19:59
Sure, it's interesting, but is it Abelson interesting?
>>24
A rather interesting problem is minimizing the amount of comparisons you ask for using prediction. I thought up a few things but I'm too lazy to implement them.
Name:
Anonymous2013-01-09 10:27
>>25 (CC: >>24)
Yes, that's what Tohosort does, although I'm not 100% sure if that's the challenge. Well, it says Easy on the title, so it must be that. >>26's suggestion must be the somewhat interesting part.
Name:
Anonymous2013-01-09 10:32
I'm thinking of a non-deterministic way of doing it. Maybe randomizing the elements in the set would minimize the amount of comparisons made?
>>28
Or you could just read anything about sorting algorithms. The problem is literally just sorting a list using pairwise comparisons; i.e. the way nearly every sorting does it.
You can store other people's results to create a partly sorted list (and choose a sorting algorithm that works better on partly sorted lists), but even that isn't very interesting.
Name:
Anonymous2013-01-09 11:05
>>30
But the user is the one who gives the result to compare(a, b), not the elements themselves. Every user will have a different way of sorting the set.
>>31
I don't know why you think that makes even the slightest difference. A comparison is a comparison, whether it's done by a mathematical function or an idiot clicking Chinese cartoon stills.