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

The µContest libraries

General information

To begin, I think it's interessant for those who are not familiar, to give the definition of a library (Wikipedia) :

In computer science, a library is a collection of implementations of behavior, written in terms of a language, that has a well-defined interface by which the behavior is invoked. The value of a library is the reuse of the behavior. When a program invokes a library, it gains the behavior implemented inside that library without having to implement that behavior itself.
So the µContest libraries are libraries we developped to avoid to recode the functions of connexion to the website every time. Moreover, this has the advantage to not take care of this aspect of the programmation, which is not part of the challenge.
The libraries are available in C/C++, Java and Python, and can be downloaded on the page Downloads.

libmicrocontest in C/C++

This is the second version of the lib C/C++ (it uses the version 2 of the interface).
A lot of improvements have been developped. The main good news is that the lib consists in one header file (.h). That's all.
All the code is written in the header file. This presents the huge advantage to be compatible with Debug/Release settings, with 32/64 bits, with C/C++, with every compiler/IDE, and the lib works on Windows, Linux, and MacOS. This will make the use much much simpler. And bonus, you can see the source code !

So you just have to download the file microcontest2.h, and include it in your C or C++ file with :

				#include "microcontest2.h"

You can take a look at the documentation, but it's quite simple to use and all you have to know is given in the example section.

Attention, for the users of Code::Blocks under Windows, an additional (simple) setting has to be set in the project options.
Everything is explained on this page.
+

libmicrocontest in Python

This is the second version of the lib Python (it uses the version 2 of the interface).
For the moment, it's only compatible with Python 2.7. But you can easily adapt its code to 3.3, and if you do it, feel free to give us this version to make it available on the website.

So you just have to download the module libmicrocontest2_python27.py, and simply import it in your Python code :

				from libmicrocontest2_python27 import *

You can take a look at the documentation, but it's quite simple to use and all you have to know is given in the example section.

libmicrocontest in Java

This is the second version of the lib Java (it uses the version 2 of the interface).
It consists in a JAR archive you must include in the build path of your project :

Once the settings of your project are rights, you just have to add theses lines at the top of your .java file :
import com.microcontest.Libmicrocontest2;
import com.microcontest.Contest;

You can take a look at the documentation, but it's quite simple to use and all you have to know is given in the example section.

libmicrocontest in PHP

This is the second version of the lib PHP (it uses the version 2 of the interface).

You just have to download the file libmicrocontest2.php_, remove the '_' at the end, and simply include it in your PHP code :

				require 'libmicrocontest2.php';

You can take a look at the documentation, but it's quite simple to use and all you have to know is given in the example section.