π
<-

TI-BASIC competition

TI-BASIC competition

Unread postby PT_ » 16 Feb 2016, 14:57

I'm very happy to say that I'm leading a competition in pure BASIC. People have to create an algorithm for doing stuff. As I'm participating too, I want to ask you not to send your programs to my e-mail. I will create either 5 or 10 tasks, what people will. Thus after 5 or 10 weeks, you have to send all your programs to me, and I will judge them all :D

Rules
- Every weeks comes a new task; I will post that in this thread
- Programs will be executed on the TI-84+CE. You can use every command that is available on that calc
- Your score is mostly defined on speed, not size (see below for the scoring details)
- Don't post in any threads your code, or parts of. Also, don't steal of others
- You don't have to post that you're participating.
- After the last task, I will post how to submit all the challenges. If I have enough time, you can expect the results in 2 weeks after the closing date.
- You don't may use libraries, or ASM or whatever. Just. Pure. BASIC.

Scoring
The one with the lowest time, gets 70 points. The others are getting these points:
140-time/best_time*70
The same with speed, the smallest program gets 30 points, the others like
60-size/smallest_size*30
So you CAN earn 100 points for each task

Task 1
Create an algorithm that sorts a list in increasing order, which is both in Ans and L1. No usage of SortA( and SortD( of course ;). The dimension of that list is always 256, and are integers (not complex numbers) > 0 and <= 256. The time is the amount of seconds your program take to sort 10 random lists of 256 elements. Everyone get's the same input. Output should be L1
Your program will be tested like this:
Code: Select all
{56,1,9,46,69...->L1
prgmSORTA


Good luck with it! If you have any questions, please post in the Cemetech thread
Last edited by PT_ on 16 Feb 2016, 15:29, edited 2 times in total.
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby Persalteas » 16 Feb 2016, 14:59

Challenge accepted ! :)
User avatar
PersalteasMembre UPECS
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 6.2%
 
Posts: 2337
Images: 113
Joined: 04 Feb 2010, 00:00
Location: Evry (France)
Gender: Male
Calculator(s):
MyCalcs profile
Class: PhD candidate, Bioinformatics

Re: TI-BASIC competition

Unread postby grosged » 16 Feb 2016, 15:01

J'en suis / I'm in !!! =D
User avatar
grosgedVIP++
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 32.5%
 
Posts: 776
Images: 92
Joined: 14 Sep 2011, 12:29
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby grosged » 17 Feb 2016, 17:51

A l'aide de ma TI-83 Premium CE, j'ai planché hier soir sur le sujet...
J'ai imaginé un algorithme qui occupe 90 octets et prends 5 secondes :)
User avatar
grosgedVIP++
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 32.5%
 
Posts: 776
Images: 92
Joined: 14 Sep 2011, 12:29
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby GalacticPirate » 17 Feb 2016, 17:52

Moi, 96 octets, 6-7 minutes :'(
Mon profil TI-PlanetDevenez premium !
ImageImage
Modérateur de TI-Planet.org depuis décembre 2015, et membre de la communauté depuis Mai 2015.Cliquez ci-dessus pour faire un don à TI-Planet.org via PayPal et devenir Donateur ou Premium (à partir de 3€) ! Vous aurez accès à des générations illimitées et prioritaires avec Mviewer GX Creator, ainsi qu'au forum secret ! :bj: En plus, vous pourrez être orange sur le chat :troll:

Image
User avatar
GalacticPirateModo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 1.3%
 
Posts: 1156
Images: 2
Joined: 23 May 2015, 10:36
Location: Hauts-de-Seine, France
Gender: Male
Calculator(s):
MyCalcs profile
Class: M2

Re: TI-BASIC competition

Unread postby PT_ » 17 Feb 2016, 20:14

Since people are struggling with the ratio speed:size, I've made a poll. Please vote! :)
https://www.cemetech.net/forum/viewtopi ... 552#245552
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby Bisam » 18 Feb 2016, 19:14

I gave it a try... but on a TI83+ since I don't have anything else.
Result : 96 o for about 12 seconds. I imagine that on a 83 Premium CE it should be about twice as fast...
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby PT_ » 18 Feb 2016, 20:17

Bisam wrote:I gave it a try... but on a TI83+ since I don't have anything else.
Result : 96 o for about 12 seconds. I imagine that on a 83 Premium CE it should be about twice as fast...

I'm happy to test and see it, after the competition is over! :)
Age of CEmpires I - In progress!
40%
User avatar
PT_Programmeur
Niveau 13: CU (Calculateur Universel)
Niveau 13: CU (Calculateur Universel)
Level up: 57.2%
 
Posts: 259
Joined: 09 Feb 2016, 23:06
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby grosged » 21 Feb 2016, 11:55

Y a du nouveau...
Sur TI83PCE, j'ai conçu un algorithme qui met maintenant 3.80 , parfois 3.81 secondes (avec une taille de 97octets)
User avatar
grosgedVIP++
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 32.5%
 
Posts: 776
Images: 92
Joined: 14 Sep 2011, 12:29
Gender: Male
Calculator(s):
MyCalcs profile

Re: TI-BASIC competition

Unread postby Bisam » 22 Feb 2016, 13:35

Comment mesures-tu au 100ème de seconde près ?
User avatar
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 69.6%
 
Posts: 5670
Joined: 11 Mar 2008, 00:00
Location: Lyon
Gender: Male
Calculator(s):
MyCalcs profile

Next

Return to TI-Basic

Who is online

Users browsing this forum: ClaudeBot [spider] and 5 guests

-
Search
-
Social TI-Planet
-
Featured topics
Ndless for CX 4.5.5 / CX II 6.2.0
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
12345
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
3428 utilisateurs:
>3403 invités
>13 membres
>12 robots
Record simultané (sur 6 mois):
32248 utilisateurs (le 01/09/2025)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)