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.0
The library contains functions that enable you
import com.microcontest.Libmicrocontest2; import com.microcontest.Contest;
Here is a list of the functions you can use :
Function | Prototype | Description |
---|---|---|
- Libmicrocontest2.checkVersion | - boolean checkVersion() | Checks if the lib is up to date |
- Contest.commenceContest |
- Contest commenceContest(int id_contest, String username, String password) - Contest commenceContest(int id_contest) |
Gets the variables from the website |
- Contest.getParam - Contest.getBytes - Contest.getInt - Contest.getDouble |
- String getParam(String variable_name) - byte[] getBytes(String variable_name) - int getInt(String variable_name) - Double getDouble(String variable_name) |
Give you the variables downloaded by Contest.commenceContest |
- Contest.appendAnswer |
- void appendAnswer(String variable_name, int variable_value) - void appendAnswer(String variable_name, double variable_value) - void appendAnswer(String variable_name, String variable_value) |
Add answers to the final solution |
- Contest.submitAnswer | - String submitAnswer() | Sends the final solution to the website |
You can use this variable in your code :
Variable name | Value |
---|---|
Libmicrocontest2.Version | The version of the lib you are currently using. |
true if the lib is up to date, false otherwise.
if(Libmicrocontest2.checkVersion() == false) { System.out.println("Warning: the version of the libmicrocontest2 is not the last one."); System.out.println("Current version :\t" + Libmicrocontest2.VERSION); System.out.println("This program may not work properly. Consider downloading the latest version on this page : http://www.microcontest.com/download.php\n"); }
username = harry password = potter
A Contest object you have to use to retreive the variable values.
Contest cont = Contest.commenceContest(1, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(1); if you use credentials int a = cont.getInt("a"); int b = cont.getInt("b"); // you can also use getDouble (for floating point values) and getParam (for strings)
[in] String variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The string value of the variable.
Contest cont = Contest.commenceContest(4, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(4); if you use credentials int key = cont.getInt("key"); String txt_crypted = cont.getParam("txt_crypte");
[in] String variable_name : The identificator string of the variable you want to retrieve written on every contest page.
A new byte array storing the string bytes.
Contest cont = Contest.commenceContest(6, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(4); if you use credentials byte[] wav_Data = cont.getByte("wav");
[in] String variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The value of the variable.
Contest cont = Contest.commenceContest(4, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(4); if you use credentials int key = cont.getInt("key"); String txt_crypted = cont.getParam("txt_crypte");
[in] String variable_name : The identificator string of the variable you want to retrieve written on every contest page.
The value of the variable.
Contest cont = Contest.commenceContest(4, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(2); if you use credentials Double a = cont.getDouble("a"); Double b = cont.getDouble("b"); Double c = cont.getDouble("c");
N/A
Contest cont = Contest.commenceContest(1, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(1); if you use credentials int a = cont.getInt("a"); int b = cont.getInt("b"); // you can also use getDouble (for floating point values) and getParam (for strings) // append the answer cont.appendAnswer("s", a + b); // then submit the answer and print result System.out.println(cont.submitAnswer());
N/A
A string informing you about the result.
Contest cont = Contest.commenceContest(1, "Your nickname", "Your password"); // Contest cont = Contest.commenceContest(1); if you use credentials int a = cont.getInt("a"); int b = cont.getInt("b"); // you can also use getDouble (for floating point values) and getParam (for strings) // append the answer cont.appendAnswer("s", a + b); // then submit the answer and print result System.out.println(cont.submitAnswer());