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

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.