Omnimaga

Omnimaga => News => Topic started by: critor on May 18, 2013, 05:47:43 pm

Title: TI-Planet arithmetic contest: the results
Post by: critor on May 18, 2013, 05:47:43 pm
Crossposting the results from http://tiplanet.org/forum/viewtopic.php?t=11914

You probably know it, TI-Planet recently organised a calculator programming contest. The aim was to find the n-th prime palindrome as fast as possible.
By the way, you can find informations about it in the  annoucement topic (http://tiplanet.org/forum/viewtopic.php?f=43&t=11479).

(http://i.imgur.com/cjd92In.jpg) (http://tiplanet.org/forum/viewtopic.php?f=43&t=11479)


The deadline of the contest was a few days ago, and we have now completed our tests. It's now... results time!


TI-Nspire (BASIC) category
We received 14 entries, but we retained only 13. Indeed, one of the entries, PP08, outside competition and which dwarfed all others, will be presented in a separate news post.

(http://www.mirari.fr/Sdb0)
Let's reveal the names hidden behind a few letters and numbers that were insuring impartiality during the grading
Bisam (PP01 (http://tiplanet.org/forum/archives_voir.php?id=14686)), Luc H. (PP02 (http://tiplanet.org/forum/archives_voir.php?id=14687)), Loulou54 (PP03 (http://tiplanet.org/forum/archives_voir.php?id=14688)), Benjamin K. (PP04 (http://tiplanet.org/forum/archives_voir.php?id=14689)), Michel B. (PP05 (http://tiplanet.org/forum/archives_voir.php?id=14690)), sammyMaX (PP06 (http://tiplanet.org/forum/archives_voir.php?id=14691)), Lepzulnag (PP07 (http://tiplanet.org/forum/archives_voir.php?id=14692)), Excale (PP08 (http://tiplanet.org/forum/archives_voir.php?id=14699)), Louis A. (PP09 (http://tiplanet.org/forum/archives_voir.php?id=14693)), Compu (PP10 (http://tiplanet.org/forum/archives_voir.php?id=14694)), Tangrs (PP11 (http://tiplanet.org/forum/archives_voir.php?id=14695)), Jim Bauwens (PP12 (http://tiplanet.org/forum/archives_voir.php?id=14696)), Jean-Yves L. (PP13 (http://tiplanet.org/forum/archives_voir.php?id=14697)), Handers (PP14 (http://tiplanet.org/forum/archives_voir.php?id=14698))

Bisam (pp01) wins, with the faster program in average, even if his results are a bit "by steps" : indeed he uses a sieve that he fills up little by little, and the "jumps" are due to some big range without palindromic primes.

Then :
TI-z80 BASIC category
We received 5 entries.

(http://www.mirari.fr/j0lH)
Let’s reveal the (nick)names:
Nikitouzz (PZ01 (http://tiplanet.org/forum/archives_voir.php?id=14700)), Xeda (PZ02 (http://tiplanet.org/forum/archives_voir.php?id=14701)), Weregoose (PZ03 (http://tiplanet.org/forum/archives_voir.php?id=14702)), Linkakro (PZ04 (http://tiplanet.org/forum/archives_voir.php?id=14703)), Samer A. J. (PZ05 (http://tiplanet.org/forum/archives_voir.php?id=14704))


Xeda [PZ02] wins, with the fastest program (which is also the smallest one!), using a palindromic number generator and primality testing (trial factoring).
Xeda earns a TI-84 Pocket.fr + 4 TI-Planet stickers! :bj:

The runner-ups are Weregoose [PZ03], with another very small program (props for size optimization), and Linkakro [PZ04], who earn respectively 1 TI calculator poster (model can be chosen as long as supplies permit it) + 3 TI-Planet stickers and 2 TI-Planet stickers! (Sorry for Nikitouzz who gets the 4th place because there weren't any explanations :( )


TI-z80 Native Code  category

We have received 3 entries : a single one in pure z80 ASM, the two others in Axe

(http://www.mirari.fr/KXsV)
Let's reveal the (nick)names:
Jacobly (PA01 (https://tiplanet.org/forum/archives_voir.php?id=14705)), Steven W. (PA02 (https://tiplanet.org/forum/archives_voir.php?id=14706)), Félix G. (PA03 (https://tiplanet.org/forum/archives_voir.php?id=14707))


There hasn't been much of a competition, the two Axe programs being very limited: no handling of integers > 16 bit.. If Axe is still very good at what's it's been made for, the algorithm contest purpose here is clearly not its stronghold.
The winner is therefor unquestionably Jacobly [PA1], who earns a TI-84 Pocket.fr + 4 TI-Planet stickers ! :bj:
Notice that Jacobly's TI-z80 ASM program is actually faster than Bisam's TI-Nspire BASIC program, while the processor is almost 9x slower ! This can only make us regret once more that TI does not open to ASM its TI-Nspire platform...


Congratulations to you all, and see you soon on TI-Planet for other contests!



Source:
http://tiplanet.org/forum/viewtopic.php?t=11914
Title: Re: TI-Planet arithmetic contest: the results
Post by: sammyMaX on May 18, 2013, 06:11:22 pm
Congrats Bisam! Can someone explain his program more? From Google Translate I got that it used the Sieve of Eratosthenes, but I don't quite understand the specifics, especially why it has sudden jumps in times.

And lol that native z80 entries can beat Nspire Basic, maybe you should have had an Ndless ASM/C category?
Title: Re: TI-Planet arithmetic contest: the results
Post by: Hayleia on May 20, 2013, 04:26:50 am
And lol that native z80 entries can beat Nspire Basic, maybe you should have had an Ndless ASM/C category?
I think they didn't do that because that would have been a pain to time :P
program 1: 0.0012 seconds
program 2: 0.0041 seconds
:P

More seriously, congrats to everyone for entering the contest :)
Title: Re: TI-Planet arithmetic contest: the results
Post by: excale on May 20, 2013, 05:28:08 am
And lol that native z80 entries can beat Nspire Basic, maybe you should have had an Ndless ASM/C category?

Nobody believed it was possible to for a C/ASM program to return something in the math window.

But anyway, I did make it and sent my entry with a dummy name (but it was, of course, not a valid entry :) ).
If you want more informations about it, just move your mouse pointer over this blue text, and click: http://tiplanet.org/forum/viewtopic.php?f=43&t=11928
Title: Re: TI-Planet arithmetic contest: the results
Post by: Levak on May 20, 2013, 09:47:00 am
Nobody believed it was possible to for a C/ASM program to return something in the math window.

I did :

For Ndless, I'm looking into it since 1hour, I cannot see any beautiful way to hook the catalog and the builtins (I may look at the wrong part of the problem).
Challenge is not forbidden, but strongly not recommended =)
Title: Re: TI-Planet arithmetic contest: the results
Post by: Sorunome on May 20, 2013, 07:53:22 pm
Congrats for the winners!
I bet the other people weren't bad too, it takes some good effort to manage to make such a program, hope you all had fun! :D
Title: Re: TI-Planet arithmetic contest: the results
Post by: DJ Omnimaga on June 09, 2013, 03:06:33 am
Congrats to the winners!