1 | 0x00h | 679 pts |
2 | boris39 | 679 pts |
3 | thefinder | 679 pts |
4 | neoxquick | 660 pts |
5 | maf-ia | 642 pts |
6 | eax | 641 pts |
7 | Lucky92 | 640 pts |
8 | nikokks | 599 pts |
9 | benito255 | 589 pts |
10 | mego | 573 pts |
11 | madbat2 | 563 pts |
12 | plucth | 546 pts |
13 | Mart | 535 pts |
14 | rostale | 533 pts |
15 | LouisJ | 521 pts |
16 | Stupefy | 514 pts |
17 | lalba | 514 pts |
18 | tehron | 499 pts |
19 | Kithyane | 483 pts |
20 | egosum | 458 pts |
Salut nikokks Ce problème n'est pas évident en effet. Une manière de faire est de trouver les formes les plus simples, et de les "effacer" de l'image avant de chercher les formes plus complexes ;)
Salut a tous =) , je bug sur le problème 28 (forme analysis). Quelqu'un aurait il une piste ?
Coucou oui, tu peux m'envoyer un mail si tu veux. Le plus simple, ce serait d'avoir un package pour python 3. J'ai essayé et ça n'a pas marché!
Salut thefinder, ça faisait longtemps ! Oula ça en fait des problèmes :'( Le premier challenge ? La somme de deux nombres ?
Coucou, j'ai essayé de reprendre avec python. J'ai plusieurs soucis. 1) Il faut rajouter headers={'Content-Type': 'application/x-www-form-urlencoded'} avec un requests.session(). 2) Je n'ai pas réponse du serveur si je soumet une réponse au premier challenge. J'essaye finir en python les 3 dernières épreuves qui me reste. :)
Bonjour, un léger problème sur l'épreuve 10 : Une fois réussie, le champ "points earned" indique 72 au lieu de 7 En revanche sur le site le nombre de points comptabilisés est bien 7 Merci pour ce site génial !
Équation du challenge 52 corrigée, merci
Bonjour, il y a aussi un problème d'affichage "invalid equation" dans le challenge 52. Merci
Barbapapou l'équation du challenge 29 a été corrigée
Bonjour, il y a un problème avec l'affichage d'une équation dans le challenge 29
![]() |
Vous aimez µContest ? |
µContest, what is it ? How to participate ? How to solve the challenges proposed ? What language ? You will find all the answers to theses questions in this page. Concerning more specific questions, you can ask them on the forum.
GeneralHow to solve a challengeThe µContest libraries |
Example of a challenge resolution I
Example of a challenge resolution II |
Technical documentations
|
Current version : 2.2
The library contains functions that enable you
from libmicrocontest2_python27 import *
Here is a list of the functions you can use :
Function | Prototype | Description |
---|---|---|
- check_version | - check_version() | Checks if the lib is up to date |
- get_currentversion | - get_currentversion() | Return the version of the lib you are currently using |
- commence_contest |
- commence_contest(id_contest) - commence_contest(id_contest, username, password) |
Gets the variables from the website |
- Contest.get_str - Contest.get_int - Contest.get_float - Contest.get_param |
- Contest.get_str(variable_name) - Contest.get_int(variable_name) - Contest.get_float(variable_name) - Contest.get_param(variable_name, type) |
Give you the variables downloaded by MC_StartContest |
- Contest.append_answer | - Contest.append_answer(variable_name, answer) | Add answers to the final solution |
- Contest.submit_answer | - Contest.submit_answer() | Sends the final solution to the website |
check_version()
Enables you to check if the lib version if up to date.
N/A
true if the lib is up to date, false otherwise.
if not check_version(): print "Warning: the version of the libmicrocontest2 is not the last one." print "Current version :\t" + get_currentversion() print "This program may not work properly. Consider downloading the latest version on\nthis page : http://www.microcontest.com/download.php\n"
get_currentversion()
Returns the version of the lib you are using.
N/A
The version of the lib you are using, as a string. (e.g. "2.2").
if not check_version(): print "Warning: the version of the libmicrocontest2 is not the last one." print "Current version :\t" + get_currentversion() print "This program may not work properly. Consider downloading the latest version on\nthis page : http://www.microcontest.com/download.php\n"
username = "harry" password = "potter"
A Contest object you have to use to retreive the variable values.
cont = commence_contest(4, "Your nickname", "Your password") # short form uses username, password from credentials.py # cont = commence_contest(4) CryptedText = cont.get_str('txt_crypte') Key = cont.get_int('key')
[in] variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The string value of the variable.
cont = commence_contest(4, "Your nickname", "Your password") CryptedText = cont.get_str('txt_crypte')
[in] variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The value of the variable.
cont = commence_contest(4, "Your nickname", "Your password") Key = cont.get_int('key')
[in] variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The value of the variable.
cont = commence_contest(2, "Your nickname", "Your password") a = cont.get_float('a') b = cont.get_float('b') c = cont.get_float('c')
The value of the variable as a string.
cont = commence_contest(4, "Your nickname", "Your password") CryptedText = cont.get_param('txt_crypte', str) Key = int(cont.get_param('key', int))
N/A
cont = commence_contest(1, "Your nickname", "Your password") a = cont.get_int("a") b = cont.get_int("b") s = a + b cont.append_answer("s", s) print(cont.submit_answer())
A string informing you about the result.
cont = commence_contest(1, "Your nickname", "Your password") a = cont.get_int("a") b = cont.get_int("b") s = a + b cont.append_answer("s", s) print(cont.submit_answer())