[Concours] Fais chauffer ta calto avec de l'arithmétique!
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
Pourquoi tu veux faire des nombres à virgule avec une précision non suffisante toi?
-
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2955
- Images: 3
- Joined: 10 Sep 2010, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
non mais il faut bien que je fasse des flottant si je veux tester pour les nombre superieur a 2^16... deja qu'en axe on ne travaille qu'avec les entier entre 0 et 65535..
Mes records personnels :
2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes
megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes
2x2x2 : 2.18 secondes / 2x2x2 une main : 21.15 secondes / 2x2x2 yeux bandés : 47.59
3x3x3 : 5.97 secondes / 3x3x3 une main : 49.86 secondes
4x4x4 : 1.49 minutes / 4x4x4 une main : 6.50 minutes
5x5x5 : 4.10 minutes / 5x5x5 une main : 18.02 minutes
6x6x6 : 8.10 minutes
7x7x7 : 16.03 minutes
9x9x9 : 58.26 minutes
megaminx : 5.59 minutes / pyraminx : 7.91 secondes / square-one : 1.07 minutes
-
nikitouzzModo
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 1016
- Images: 1
- Joined: 16 Feb 2012, 18:39
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Fac de maths
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
Un flottant, c'est un nombre avec une mantisse et un exposant (pour faire simple). Je ne vois pas ce que ça vient faire là.
-
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2955
- Images: 3
- Joined: 10 Sep 2010, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
Excale wrote:mdr1 wrote:I won't participate for the same reason.
Pourquoi pleurer? Si tu ne veux pas donner ton nom, je n'ai rien contre. Mais c'est normal de ne pas pouvoir recevoir un lot dans ce cas là...
Est-il possible de ne donner mon nom que si je remporte un lot ?
PS: Rien ne t'oblige à dire que tu es mdr1 d'ailleurs. Tu peux participer avec ton vrai nom sans qu'on sache que c'est toi .
Lol non, ce serait grillé.
-
mdr1Premium
Niveau 14: CI (Calculateur de l'Infini)- Posts: 1083
- Images: 12
- Joined: 28 Mar 2011, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Je voyage toujours en première.
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
A la limite, si le règlement le permet et que je jury accepte, tu pourrais envoyer un hash de ton nom/adresse.
-
ExcaleAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2955
- Images: 3
- Joined: 10 Sep 2010, 00:00
- Gender:
- Calculator(s):→ MyCalcs profile
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
Moins de 4 secondes, c'est raisonnable ?Excale wrote:Ben, si on a des programmes en Basic qui trouvent des nombres supérieurs à 65535 en un temps raisonnable, soit sur qu'on testera ces valeurs.
-
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)- Posts: 5670
- Joined: 11 Mar 2008, 00:00
- Location: Lyon
- Gender:
- Calculator(s):→ MyCalcs profile
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
Ouh, Bisam nous donne du fil a retordre sur ce coup là...
-
PersalteasMembre UPECS
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2337
- Images: 113
- Joined: 04 Feb 2010, 00:00
- Location: Evry (France)
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: PhD candidate, Bioinformatics
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
ça sent pas bon pour les concurrents
Retrouvez mes programmes et mes cours sur :
https://tiplanet.org/forum/archives_list.php?id=4431&author=1
https://tiplanet.org/forum/archives_list.php?id=4431&author=1
-
diot
Niveau 11: LV (Légende Vivante)- Posts: 995
- Images: 1
- Joined: 05 Sep 2011, 17:20
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: Prépa PCSI
English translation
Hello everyone,
It has been time TI-Planet have not organized a contest, and here is the lack filled
So we organize a contest, about 5 weeks, well mixing arithmetic and algorithmics.
Introduction:
In mathematics, a prime palindom number is a number which is both prime and palindromic.
A prime number is an integer that only admits two positive and integer divisors (which are 1 and itself).
This definition excludes 1, which has only one positive and integer divisor ; it excludes 0 too, which is divisible by all the positive integers.
For example 6 = 2 × 3 is not prime and 21 = 3 × 7 or 7 × 3 either. But 11 is prime because 1 and 11 are the only divisors of 11.
So, the prime numbers are, in order, 2, 3, 5, 7, 11...
A palindromic number is a number whose writing (in base 10) is read in the same way from left to right and from right to left.
For example, all the 1-digit numbers are palindromic: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
The 2-digit palindroms are: 11, 22, 33, 44, 55, 66, 77, 88 and 99.
101 is a 3-digit palindromic number.
So, the prime palindromic numbers are: 2, 3, 5, 7, 11, 101, 131...
Subject :
Make a program fastest as possible to find the n-th prime palindromic number.
Plateform :
The candidate will perform its participation:
Categories:
The candidate's production will be judged in one of those categories:
Languages :
Constraints :
On TI-82Stats/83/84/76, the program will catch n in the 'Ans' variable, and will send the nth prime palindromic number as a result in Ans.
For example, to obtain the 42th prime, we will type:
On TI-Nspire, the main program should be a function which take the n parameter and which sends the result. For example, palprem(42) should answer 18181.
YOU MUST NOT USE a pre-calculated list of prime palindromic numbers in your program, directly under penalty of disqualification.
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...
The program MUST run on not-CAS TI-Nspires.
Notation :
The final score will be on 20 points, and the scale is as follows:
Jury :
Participations are rated on an equitable basis according to a common scale by a jury whose composition is as follows:
When ? :
The contest starts Monday the 1st of April 2013 and finishs Sunday the 12th of May, 23h59 (GMT+1)
How ? :
To participate, candidates must send to the email address info@tiplanet.org :
Lots :
Through our partnership with TI-France and Jarrety, the winners of the contest (one winner per category) will be rewarded with:
1st price in the TI-82/83/84 category : a TI-84 Pocket.fr
Complete rules:
The complete rules for this contest, legally registered to an usher, are available on
TI-Planet or the UPECS website. (French)
See you soon on TI-Planet !
PS: I know I'm a bit late, because the contest has started...
It has been time TI-Planet have not organized a contest, and here is the lack filled
So we organize a contest, about 5 weeks, well mixing arithmetic and algorithmics.
Introduction:
In mathematics, a prime palindom number is a number which is both prime and palindromic.
A prime number is an integer that only admits two positive and integer divisors (which are 1 and itself).
This definition excludes 1, which has only one positive and integer divisor ; it excludes 0 too, which is divisible by all the positive integers.
For example 6 = 2 × 3 is not prime and 21 = 3 × 7 or 7 × 3 either. But 11 is prime because 1 and 11 are the only divisors of 11.
So, the prime numbers are, in order, 2, 3, 5, 7, 11...
A palindromic number is a number whose writing (in base 10) is read in the same way from left to right and from right to left.
For example, all the 1-digit numbers are palindromic: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
The 2-digit palindroms are: 11, 22, 33, 44, 55, 66, 77, 88 and 99.
101 is a 3-digit palindromic number.
So, the prime palindromic numbers are: 2, 3, 5, 7, 11, 101, 131...
Subject :
Make a program fastest as possible to find the n-th prime palindromic number.
Plateform :
The candidate will perform its participation:
- TI-Nspire
- TI-82Stats/83/76
- TI-83+/84
Categories:
The candidate's production will be judged in one of those categories:
- TI-Nspire
- TI-82Stats/83/84/76
Languages :
- TI-Basic Nspire
- TI-Basic TI-82Stats/83/84/76
- TI-83+/84 Assembly NO SHELL (So, you can participate with Axe compiled for no shell)
- TI-82Stats/83/76 Assembly NO SHELL
Constraints :
On TI-82Stats/83/84/76, the program will catch n in the 'Ans' variable, and will send the nth prime palindromic number as a result in Ans.
For example, to obtain the 42th prime, we will type:
- TI-Basic program: 42:prgmPALPREM
- TI-83+/84 Assembly program: 42:Asm(prgmPALPREM
- TI-82Stats/83/76 Assembly program: 42:Send(9prgmPALPREM
On TI-Nspire, the main program should be a function which take the n parameter and which sends the result. For example, palprem(42) should answer 18181.
YOU MUST NOT USE a pre-calculated list of prime palindromic numbers in your program, directly under penalty of disqualification.
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...
The program MUST run on not-CAS TI-Nspires.
Notation :
The final score will be on 20 points, and the scale is as follows:
- 3 points for the proper functioning of the program
- 10 points for the fast execution of the program (it will be tested and compared to competitors on identical machines with identical languages)
- 3 points for the respect of the rules
- 4 points for an explanation
Jury :
Participations are rated on an equitable basis according to a common scale by a jury whose composition is as follows:
- Adriweb
- Critor
- Laurae
- Levak
- Lionel Debroux
When ? :
The contest starts Monday the 1st of April 2013 and finishs Sunday the 12th of May, 23h59 (GMT+1)
How ? :
To participate, candidates must send to the email address info@tiplanet.org :
- complete mailing address with first and last name
- a valid email address for contact
- the expected production (8xp, 83p, tns)
- any other information or file deemed useful by the candidate concerning its production
Lots :
Through our partnership with TI-France and Jarrety, the winners of the contest (one winner per category) will be rewarded with:
- 1st price: 1 calculator + 4 TI-Planet stickers
- 2nd price: 1 poster TI + 3 TI-Planet stickers
- 3rd price: 2 TI-Planet stickers
1st price in the TI-82/83/84 category : a TI-84 Pocket.fr
Complete rules:
The complete rules for this contest, legally registered to an usher, are available on
TI-Planet or the UPECS website. (French)
See you soon on TI-Planet !
PS: I know I'm a bit late, because the contest has started...
-
PersalteasMembre UPECS
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 2337
- Images: 113
- Joined: 04 Feb 2010, 00:00
- Location: Evry (France)
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: PhD candidate, Bioinformatics
Re: [Concours] Fais chauffer ta calto avec de l'arithmétique
4 secondes ? A 1h35mn près, je fais comme toi
(sur z80 Bisam ? ou sur 68k ? )
(sur z80 Bisam ? ou sur 68k ? )
-
noelnadalEcrivain
Niveau 17: GM (Grand Maître des calculatrices)- Posts: 2264
- Images: 0
- Joined: 10 Mar 2011, 00:00
- Location: France, Melun (77)
- Gender:
- Calculator(s):→ MyCalcs profile
- Class: INRIA Paris
- Twitter: nadalnoel
- Facebook: noel.nadal1
- GitHub: noelnadal
Who is online
Users browsing this forum: ClaudeBot [spider] and 16 guests