• [^] # Re: Deplacement du cheval

    Posté par . En réponse au journal Deplacement du cheval. Évalué à 1.

    heu j ai meme ete jusqu a :

    #define ENDD 64
    [...]
    if(!recur(plip,x-2,y+1)) /* try y-1 and then y+1, or y+1 and then y-1 */
    return(0); /* and see the change in time and steps */
    if(!recur(plip,x-2,y-1))
    return(0);
    if(!recur(plip,x+2,y-1))
    return(0);
    if(!recur(plip,x+2,y+1))
    [...]
    if(recur(&plip,5, 5))

    avec bogomips : 897.84 il ne trouve pas dans les 5 minutes ...