1 | 0x00h | 696 pts |
2 | boris39 | 696 pts |
3 | neoxquick | 677 pts |
4 | maf-ia | 659 pts |
5 | eax | 658 pts |
6 | thefinder | 640 pts |
7 | benito255 | 605 pts |
8 | nikokks | 598 pts |
9 | mego | 589 pts |
10 | madbat2 | 580 pts |
11 | plucth | 562 pts |
12 | Mart | 550 pts |
13 | Stupefy | 530 pts |
14 | rostale | 516 pts |
15 | tehron | 503 pts |
16 | Kithyane | 498 pts |
17 | egosum | 471 pts |
18 | malose | 428 pts |
19 | CoYoTe99 | 415 pts |
20 | Undr | 413 pts |
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
@rostale, en effet l'épreuve 21 ne fonctionne plus depuis un moment, pour l'instant on a pas prévu de temps pour la réparer je pense qu'on va finir par la supprimer tout simplement. @nikokks, ok je t'envoie un mail
Salut Metatr0n. pourrait on avoir une discussion en MP. J'imagine que tu as mon mail. Ce serait pour discuter de microcontest en general.
Pouvez-vous vérifier l'épreuve Email (21) ? En effet, je ne reçois pas d'email de la part du site. Merci
Bonjour et merci. Cependant, j'ai résolu le challenge qui me posait pb, donc plus rien à demander... pour l'instant.
Ça devrait être réparé maintenant
![]() |
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());