Top 20

1 0x00h 695 pts
2 boris39 695 pts
3 neoxquick 676 pts
4 maf-ia 658 pts
5 eax 657 pts
6 thefinder 639 pts
7 benito255 604 pts
8 nikokks 597 pts
9 mego 588 pts
10 madbat2 579 pts
11 plucth 561 pts
12 Mart 549 pts
13 Stupefy 529 pts
14 tehron 502 pts
15 Kithyane 497 pts
16 egosum 470 pts
17 rostale 462 pts
18 malose 427 pts
19 CoYoTe99 414 pts
20 Undr 412 pts

Classement complet

Shoutbox

21 Oct - 9:48 pm

Équation du challenge 52 corrigée, merci

16 Oct - 8:43 am

Bonjour, il y a aussi un problème d'affichage "invalid equation" dans le challenge 52. Merci

14 Oct - 8:57 pm

Barbapapou l'équation du challenge 29 a été corrigée

4 Oct - 10:30 am

Bonjour, il y a un problème avec l'affichage d'une équation dans le challenge 29

24 Aug - 7:10 pm

@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

22 Aug - 11:40 pm

Salut Metatr0n. pourrait on avoir une discussion en MP. J'imagine que tu as mon mail. Ce serait pour discuter de microcontest en general.

28 Jul - 10:38 pm

Pouvez-vous vérifier l'épreuve Email (21) ? En effet, je ne reçois pas d'email de la part du site. Merci

28 Jul - 7:29 pm

Bonjour et merci. Cependant, j'ai résolu le challenge qui me posait pb, donc plus rien à demander... pour l'instant.

28 Jul - 1:48 pm

Ça devrait être réparé maintenant

28 Jul - 12:04 pm

Bonjour, effectivement j'ai le même message d'erreur, on va investiguer merci d'avoir rapporté le soucis

Connexion
Mot de passe oublié

Supportez nousx

Vous aimez µContest ?
Supportez nous en votant (fun et difficulté) pour µContest sur WeChall :)
Si vous ne l'avez pas encore fait, profitez-en pour lier votre compte
Wechall à µContest pour pouvoir voter !

Merci

Contents

µ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.

General

How to solve a challenge

The µContest libraries

Example of a challenge resolution I

Example of a challenge resolution II

Technical documentations

How to solve a challenge

How to solve a challenge

In order to validate a contest, you must develop a program that will solve the problem given in the challenge.
To avoid that a person solves the challenge "by hand" and writes the solution itself in the code of the program (like the solution of a given equation), every challenge has parameters on which the solution depends, and these paremeters change every time.
For example, in the simplest challenge, the program must solve an addition of 2 numbers, a and b. There is 3 steps for the resolution :

  • The program gets the parameters from the website (don't worry we have developped simple libraries for that)
  • The program solves the challenge (the addition of a and b here)
  • The program sends the solution back to the server (same here, functions available for that)

Let's see what we can find on the page of the challenge we are talking about.
You can find (and it's true for every challenge) 3 important information :
  • The ID number of the contest (1 here)
  • The description
  • The parameter(s) you must get and the solution(s) you must send back

The ID enables you to connect to the contest (www.microcontest.com/contests/1/contest.php, because ID = 1 here). This page contains the variable(s) you have to get. In practice, you won't connect to this page, parse it and extract the variables, because we have already developped libraries (available in C/C++, Java and Python) that do this job. We will discuss that later in The µContest libraries.
Once you got the parameters of the challenge in your program, the solution has to be computed and sent back (thanks to the µContest libraries) to the server in less than 4 seconds !

In the next part, we will present the libraries, how to use them, and then we give a full example of a challenge resolution.

Important note : You DO NOT have to use the µContest libraries to solve the challenge, but it's highly recommanded. You can develop your own functions of communication with the website, if you have the time, skill and motivation to do it. In this case, the mecanisms of getting the parameters and sending back the solution are explained here.
Feel free to give us your libraries in other languages, or to improve the "official" ones.