Author Topic: TI-Planet arithmetic contest !  (Read 10151 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
TI-Planet arithmetic contest !
« on: April 04, 2013, 12:49:20 pm »
Hello everyone,

It has been time TI-Planet have not organized a contest, and here is the lack filled ;)
So we organize an international contest, about 5 weeks, mixing arithmetic and algorithmics.


Make a program, as fast as possible, to find the n-th prime palindromic number.


We'll gladly accept programs for the:
  • TI-Nspire
  • TI-82Stats/83/76
  • TI-83+/84


Prizes include:
  • a TI-Nspire CX for the fastest TI-Nspire program
  • a TI-84 Pocket.fr for the fastest TI-z80 program
  • TI posters
  • TI-Planet stickers








Have fun, trying to be the fastest! :thumbsup:



Links:
TI-Planet news in english
Contest topic on Omnimaga with complete rules

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Planet arithmetic contest !
« Reply #1 on: April 04, 2013, 01:52:56 pm »
Not to sound weird or so but shouldn't the prizes be in reverse? I for one would prefer a z80 for winning an nspire contest and vice versa.
Just my 2 cents :)
(And I might be entering, might be not as well)
I'm not a nerd but I pretend:

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: TI-Planet arithmetic contest !
« Reply #2 on: April 04, 2013, 01:59:10 pm »
nLaunch CX


just saying
* Levak  runs
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Planet arithmetic contest !
« Reply #3 on: April 04, 2013, 02:04:16 pm »
Not to sound weird or so but shouldn't the prizes be in reverse? I for one would prefer a z80 for winning an nspire contest and vice versa.
It's what I would have done too, but the vote turned out to get otherwise...

The argument for doing what we did is that at least, the Nspire winner won't have an "inferior" calc, and the z80 winner will probably see the 84 pocket.fr as un upgrade too.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Planet arithmetic contest !
« Reply #4 on: April 04, 2013, 02:04:25 pm »
Sorry, I don't get it Levak. ??? I was talking about me preferring a z80 calc as a prize in an nspire contest because I already have an nspire so I don't need another one (I would gladly accept another nspire, though :P)
EDIT @ adriweb: I would never see a z80 as an inferior calc. In fact I place the z80 and the nspire at about the same level.
« Last Edit: April 04, 2013, 02:05:36 pm by aeTIos »
I'm not a nerd but I pretend:

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: TI-Planet arithmetic contest !
« Reply #5 on: April 04, 2013, 02:17:51 pm »
Sorry, I don't get it Levak. ??? I was talking about me preferring a z80 calc as a prize in an nspire contest because I already have an nspire so I don't need another one (I would gladly accept another nspire, though :P)
EDIT @ adriweb: I would never see a z80 as an inferior calc. In fact I place the z80 and the nspire at about the same level.
Ah, I thought your were saying it was better to have a z80 because non-CAS Nspire are useless (which was true before nlaunch CX)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Planet arithmetic contest !
« Reply #6 on: April 04, 2013, 03:29:28 pm »
EDIT @ adriweb: I would never see a z80 as an inferior calc. In fact I place the z80 and the nspire at about the same level.
Well, I was more talking about raw power and price, too , actually.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: TI-Planet arithmetic contest !
« Reply #7 on: April 04, 2013, 03:30:27 pm »
Hmm well I got my nspire for $70 so yeah :P
I'm not a nerd but I pretend:

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Planet arithmetic contest !
« Reply #8 on: April 05, 2013, 07:15:36 am »
I'm translating critor's post from TI-Planet ( http://tiplanet.org/forum/viewtopic.php?p=137928#p137928 )

Quote
Hello,

We have disccused yesterday evening about the issue [of asm/basic being judged the same way]

In the z80 category :
  • we receive valid ASM and Basic entries
  • the majority of ASM entries would yield faster results than Basic ones
So, we are ready to actually make it so there are 3 categories ((TI-Basic z80, Asm z80, TI-Nspire)), and so we add another TI-84 Pocket.fr to win.

That should appease your fear, and you should't worry any more about a possible unfairness, of course if we receive quality ASM entries.

A hybrid program (asm + basic) will be considered ASM.

For now, we only have received one entry, and we couldn't really compare anything.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: TI-Planet arithmetic contest !
« Reply #9 on: April 05, 2013, 08:01:10 am »
That TI-84 Pocket.fr just needs to be in my pocket, unfortunately I have no time to join :( Also is the Nspire category Basic as well as ndless?

Some people need a high five in the face... with a chair.
~EC

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: TI-Planet arithmetic contest !
« Reply #10 on: April 05, 2013, 03:01:16 pm »
If you find out how to interface Ndless with the calculator app, you can.
Indeed, you have to program a 'function', which will return a usable result.
TI-Planet co-admin.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: TI-Planet arithmetic contest !
« Reply #11 on: April 05, 2013, 04:40:06 pm »
If you find out how to interface Ndless with the calculator app, you can.
Indeed, you have to program a 'function', which will return a usable result.
Also : If you find how to interface Lua, you can.
Why "if .. you can" ? Because we know that it is fairly impossible to run Lua from TI-Basic from a Function (It is possible through a Program though).
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 =)
« Last Edit: April 05, 2013, 04:40:17 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: TI-Planet arithmetic contest !
« Reply #12 on: April 06, 2013, 10:14:49 am »
After discussion, the rule is that simple :

For the Nspire : Pure TI-basic only.

We'll try to be clearer next time, sorry.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: TI-Planet arithmetic contest !
« Reply #13 on: April 06, 2013, 11:55:19 am »
Holy Cow!!! Great timing, I made one of these a while ago in basic on my nspire, now time to find theprogram

wait a sec am I allowed to use the isPrime() function?
« Last Edit: April 06, 2013, 11:56:32 am by annoyingcalc »
This used to contain a signature.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: TI-Planet arithmetic contest !
« Reply #14 on: April 06, 2013, 12:02:38 pm »
wait a sec am I allowed to use the isPrime() function?
Obviously no. And it is written in the rules: "YOU MUST NOT USE functions like isPrime() which would provide a direct response, it destroys the value of algorithmic thinking, and it would be unfair to those who don't have this function... ;)"
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s