Top 20

1 0x00h 700 pts
2 boris39 700 pts
3 neoxquick 681 pts
4 maf-ia 662 pts
5 thefinder 644 pts
6 benito255 608 pts
7 mego 591 pts
8 madbat2 581 pts
9 Mart 553 pts
10 Stupefy 533 pts
11 nikokks 512 pts
12 tehron 504 pts
13 Kithyane 502 pts
14 plucth 480 pts
15 egosum 473 pts
16 CoYoTe99 416 pts
17 Undr 415 pts
18 Zeta 415 pts
19 loonies2 411 pts
20 Armavica 409 pts

Classement complet

Shoutbox

12 May - 11:47 am

Working again now.

10 May - 4:05 pm

Hello, sorry for the late answer, in fact yes there is an issue with the mail, we will try to fix it quickly. Thanks for reporting

7 May - 6:07 pm

Hi there is a issue for the challenfe Email (number 21). I don't receive a mail on any of them: gmail, hotmail, yahoo. do i fail or is it the challenge ?

28 Feb - 10:35 am

Yes we fixed it

27 Feb - 10:00 pm

Thank you, just validated contest22. The solution checker seems to have been fixed.

27 Feb - 8:40 am

Yes several solutions are accepted of course. I will check one of your answers

26 Feb - 7:51 pm

No 500 error, but the solutions I'm submitting can be verified to be correct. It can't be that only one configuration is accepted, right? - as there are multiple correct configurations for each problem.

26 Feb - 5:54 pm

contest 22 is not concerned by the issue I found, and seems to be working (I suppose you don't have 500 error on this one ?). Your solutions are indeed rejected, but I did not check them yet

26 Feb - 3:25 pm

The validation for contest 22 also seems to be wrong (it's not accepting solutions that are clearly correct). I submitted bug report yesterday.

26 Feb - 9:59 am

Ok I fixed the issue It is higly possible that other challenges are impacted, so don't hesitate to tell meif you encounter this again. Thank you for reporting

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.