Concours de rentrée 2020 - défi Python de Xuanwu
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 36636
- Images: 10088
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):
- Class: Lycée
- YouTube: critor3000
- Twitter: critor2000
- Facebook: critor.ti
- GitHub: critor
Re: Concours de rentrée 2020 - défi Python de Xuanwu
dvon wrote:For my solution, I started with the GUI shared by Pavel. I added code
to try to automatically tweak argument values to get lower scores.
But this didn't help, because (as I figured out eventually) the best
scores were always from the values with only one digit after the
decimal point.
In the end I used a version of the GUI modified just a little bit. I
added code to output a record of scores for everything I tried a long
a path, so that I could make sure I was doing at least as well in the
current attempt as in previous attempts, and I made it possible to
tweak angle and distance arguments by +-0.000004 units (and not round
the tweak away), since this slight difference wouldn't affect the part
of the score based on the number of characters needed to represent the
value. Also, for each turn I experimented with adding or subtracting
a full rotation (i.e., about 2pi but not exactly because of the 1/10
increments) and was able to avoid using any angles that would be
treated as 4-character values in that part of the scoring.
Here are my prize choices, assuming I'm correctly understanding what's
still available:
Lot:
Capricorn - Casio Graph 90+E
(Is there a choice between French and English labeling? If so I'd
pick English.)
Casio Goodies:
3rd pen from the top
USB key Casio fx-CP400+E 4.019 GB
Casio Manga:
Takuma
Xcas goodies:
Xcas cap
TI-Planet-Casio goodies:
Normal TI-Planet Sticker
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 36636
- Images: 10088
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):
- Class: Lycée
- YouTube: critor3000
- Twitter: critor2000
- Facebook: critor.ti
- GitHub: critor
Re: Concours de rentrée 2020 - défi Python de Xuanwu
@TIny_Hacker, how did you proceed, and what do you choose ? Thanks. 

- 11 lot:Capricorne ♑calculatrice+ 1Casio Graph 90+Epack de goodies+ 1Casiogoodieau choix + 1Xcaspack de goodiesTI-Planet&Planète Casio
- 1Lot:Serpentaire ⛎goodieau choix + 1HPgoodieau choix + 1Xcaspack de goodiesTI-Planète-CasioPoster: formatHP59,2×40 cm².Clé:USB HP16 Gode capacité nominale.
- 12 lots:Balance ♎couvercle+ 1NumWorksautocollant+ 1NumWorksenveloppeouNumWorkscarte postaleouNumWorkscarte de visite-énigmeau choix + 1NumWorkspack de goodies+ 1NumWorksgoodieau choix + 1Xcaspack de goodiesTI-Planet&Planète CasioCouvercleNumWorksau nouveau formatN0110protégeant mieux l'écran contre les rayures, mais restant parfaitement utilisable sur l'ancien modèleN0100.
Détail des packs de goodies communs accompagnants les lots :
- 1 styloau choixCasio(styloEX-Wordépuisé)
- 1 clé USBau choix :Casio
- clé USB Casio fx-CP400+E-4,019 Go
- clé USB Casio-4,018 Go
- clé USB
- 1 batterieUSBCasio
- 1 histoire intégrale imprimée du manga- épisode 1, 2 ou 3 au choix - 5 pages ci-dessous + page de fin secrète :Casio Academy - ClassWiz Edition - Function Hero
- Episode 0 : Kaito(pour référence)
- Episode 1 : Takuma
- Episode 2 : Emi
- Episode 3 : Azusa
- Episode 0 :
- 1 manuelau choixNumWorks(N0100ouN0110)
- 1 cahier d'activitésNumWorks SNT 2nde
- 1 sacau choixNumWorks(N0100versions1.0-1.5,N0100versions1.6+, ouN0110)
- 1 cahierNumWorks
- 1 posterau choix :NumWorks
- format A0:(118,9×84,1 cm²)NumWorks N0100- roulé
- format A2:(42×59,4 cm²)
- NumWorks N0100:Eduscol / Ministère de l'Education Nationale- roulé - brillant
- NumWorks N0100:Eduscol / Ministère de l'Education Nationale- roulé - mat
- NumWorks N0100:@Pims / @qabosse / @antalpilipiliet ses collègues d'EPS- roulé
- NumWorks N0100:Xavier Andréani / TI-Planet- roulé - dédicacé
- NumWorks N0110: Comprendre le monde devient un jeu - plié
- format
- 1 styloNumWorks
1
t-shirt
ou Xcas
casquette
ou Xcas
tapis de souris
ou Xcas
autocollant
Xcas
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 36636
- Images: 10088
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):
- Class: Lycée
- YouTube: critor3000
- Twitter: critor2000
- Facebook: critor.ti
- GitHub: critor
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Sorry for the late-ish reply, but here it is:
Honestly, I only did this well because of Pavel's GUI, which allowed me to test my ideas faster than manually typing them out, and to tweak things as I went. I started by figuring out on paper what path had the fewest number of segments and went from there. Eventually, I discovered that shortening the decimal on turns would decrease the score, and finally that adding a 0.000049999 (or something like that) could decrease the score without changing the path itself. Afterward, I just messed around till I got as low of a score as I could. That's about all there was to it!
For my prize, I'd like:
A Balance lot with the NumWorks Post Card, the N0110 manual, the third bag, this poster,

the non-VIP TI-Planet sticker, the smallest size of Xcas shirt available (XXS if you have it), and the stuff that there are no options about (notebook, pen, etc.) If I missed something or you need more clarification, just let me know!
Honestly, I only did this well because of Pavel's GUI, which allowed me to test my ideas faster than manually typing them out, and to tweak things as I went. I started by figuring out on paper what path had the fewest number of segments and went from there. Eventually, I discovered that shortening the decimal on turns would decrease the score, and finally that adding a 0.000049999 (or something like that) could decrease the score without changing the path itself. Afterward, I just messed around till I got as low of a score as I could. That's about all there was to it!
For my prize, I'd like:
A Balance lot with the NumWorks Post Card, the N0110 manual, the third bag, this poster,

the non-VIP TI-Planet sticker, the smallest size of Xcas shirt available (XXS if you have it), and the stuff that there are no options about (notebook, pen, etc.) If I missed something or you need more clarification, just let me know!
-
TIny_Hacker
Niveau 7: EP (Espèce Protégée: geek)- Posts: 24
- Joined: 01 Oct 2020, 00:50
- Gender:
- Calculator(s):
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Thanks. 
@Filoji à toi. Comment as-tu procédé, et que prends-tu ?
Contre toute attente il nous reste encore de superbe lots avec calculatrice, grâce à la grande générosité de Pavel et TIny_Hacker.

@Filoji à toi. Comment as-tu procédé, et que prends-tu ?
Contre toute attente il nous reste encore de superbe lots avec calculatrice, grâce à la grande générosité de Pavel et TIny_Hacker.

- 11 lot:Capricorne ♑calculatrice+ 1Casio Graph 90+Epack de goodies+ 1Casiogoodieau choix + 1Xcaspack de goodiesTI-Planet&Planète Casio
- 1Lot:Serpentaire ⛎goodieau choix + 1HPgoodieau choix + 1Xcaspack de goodiesTI-Planète-CasioPoster: formatHP59,2×40 cm².Clé:USB HP16 Gode capacité nominale.
- 11 lot:Balance ♎couvercle+ 1NumWorksautocollant+ 1NumWorksenveloppeouNumWorkscarte postaleouNumWorkscarte de visite-énigmeau choix + 1NumWorkspack de goodies+ 1NumWorksgoodieau choix + 1Xcaspack de goodiesTI-Planet&Planète CasioCouvercleNumWorksau nouveau formatN0110protégeant mieux l'écran contre les rayures, mais restant parfaitement utilisable sur l'ancien modèleN0100.
Détail des packs de goodies communs accompagnants les lots :
- 1 styloau choixCasio(styloEX-Wordépuisé)
- 1 clé USBau choix :Casio
- clé USB Casio fx-CP400+E-4,019 Go
- clé USB Casio-4,018 Go
- clé USB
- 1 batterieUSBCasio
- 1 histoire intégrale imprimée du manga- épisode 1, 2 ou 3 au choix - 5 pages ci-dessous + page de fin secrète :Casio Academy - ClassWiz Edition - Function Hero
- Episode 0 : Kaito(pour référence)
- Episode 1 : Takuma
- Episode 2 : Emi
- Episode 3 : Azusa
- Episode 0 :
- 1 manuelau choixNumWorks(N0100ouN0110)
- 1 cahier d'activitésNumWorks SNT 2nde
- 1 sacau choixNumWorks(N0100versions1.0-1.5,N0100versions1.6+, ouN0110)
- 1 cahierNumWorks
- 1 posterau choix :NumWorks
- format A0:(118,9×84,1 cm²)NumWorks N0100- roulé
- format A2:(42×59,4 cm²)
- NumWorks N0100:Eduscol / Ministère de l'Education Nationale- roulé - brillant
- NumWorks N0100:Eduscol / Ministère de l'Education Nationale- roulé - mat
- NumWorks N0100:@Pims / @qabosse / @antalpilipiliet ses collègues d'EPS- roulé
- NumWorks N0100:Xavier Andréani / TI-Planet- roulé - dédicacé
- NumWorks N0110: Comprendre le monde devient un jeu - plié
- format
- 1 styloNumWorks
1
t-shirt
ou Xcas
casquette
ou Xcas
tapis de souris
ou Xcas
autocollant
Xcas
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 36636
- Images: 10088
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):
- Class: Lycée
- YouTube: critor3000
- Twitter: critor2000
- Facebook: critor.ti
- GitHub: critor
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Bonjour,
Tout d'abord, j'aimerais savoir à quoi ressemble le T-Shirt (Car j'ai déjà une G90+E et pas de Numworks), mais j'envisage encore la Balance. Merci de me donner une description au minimum je pense, et au mieux une photo
Voilà, c'est tout
Merci
Tout d'abord, j'aimerais savoir à quoi ressemble le T-Shirt (Car j'ai déjà une G90+E et pas de Numworks), mais j'envisage encore la Balance. Merci de me donner une description au minimum je pense, et au mieux une photo

Voilà, c'est tout
Merci
-
filojiPremium
Niveau 7: EP (Espèce Protégée: geek)- Posts: 5
- Joined: 27 Nov 2019, 23:13
- Gender:
- Class: 1re
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Bon, j'ai fait mon choix, je suis une Balance... Euh, non, je choisis Balance
Avec ceci, je prendrais le manuel N0110, une Carte Postale, le sac avec les dessins derrière la calculatrice (Sûrement la N0110), le poster N0110, Le T-shirt Xcas si c'est du XL ou supérieur, ou alors un tapis de souris si c'est plus petit
Ce sera tout

Avec ceci, je prendrais le manuel N0110, une Carte Postale, le sac avec les dessins derrière la calculatrice (Sûrement la N0110), le poster N0110, Le T-shirt Xcas si c'est du XL ou supérieur, ou alors un tapis de souris si c'est plus petit
Ce sera tout

-
filojiPremium
Niveau 7: EP (Espèce Protégée: geek)- Posts: 5
- Joined: 27 Nov 2019, 23:13
- Gender:
- Class: 1re
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Merci @Filoji. Et tu nous expliques comment tu as fait pour obtenir ton score, stp ? 

-
critorAdmin
Niveau 19: CU (Créateur Universel)- Posts: 36636
- Images: 10088
- Joined: 25 Oct 2008, 00:00
- Location: Montpellier
- Gender:
- Calculator(s):
- Class: Lycée
- YouTube: critor3000
- Twitter: critor2000
- Facebook: critor.ti
- GitHub: critor
Re: Concours de rentrée 2020 - défi Python de Xuanwu
Pour les T-Shirts XCAS, ca sera normalement comme ca 



-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Posts: 13210
- Images: 1090
- Joined: 01 Jun 2007, 00:00
- Location: France
- Gender:
- Calculator(s):
- Class: (ingénieur)
- Twitter: adriweb
- GitHub: adriweb

Re: Concours de rentrée 2020 - défi Python de Xuanwu
Adriweb wrote:Pour les T-Shirts XCAS, ca sera normalement comme ca
Cool



-
Afyu
Niveau 14: CI (Calculateur de l'Infini)- Posts: 194
- Images: 17
- Joined: 30 Oct 2019, 19:17
- Gender:
- Calculator(s):
- Class: plutôt, oui :)
Who is online
Users browsing this forum: No registered users and 13 guests