Un sudoku solver ? abuzayy

"- Nigga you know what the fuck I want, nigga: I want your motherfuckin' Daytons, and your motherfuckin' stereo! And I'll take a double burger with cheese!
- WHUT?"
I LOVE TO HATE/I HATE YOUR LOVE -AND I CAN'T FEEL AFFECTION FOR PEOPLE LIKE YOU!
CAALGOOONNNNN [TELLMESOMETHINGIDONTKNOW SHOWMESOMETHINGICANTUSE PUSHTHEBUTTONS CONNECTTHEGODDAMNDOTS] (Si Dieu existe il doit me détester...) vince Le 27/12/2005 à 11:34 365, comme les jours d'une année ... !
<p>JE VAIS DEVOIR <b><span style="cursor:wait">ATTENDRE</span></b> ENCORE LONGTEMPS !?</p>
<br />

"- Nigga you know what the fuck I want, nigga: I want your motherfuckin' Daytons, and your motherfuckin' stereo! And I'll take a double burger with cheese!
- WHUT?"
I LOVE TO HATE/I HATE YOUR LOVE -AND I CAN'T FEEL AFFECTION FOR PEOPLE LIKE YOU!
CAALGOOONNNNN [TELLMESOMETHINGIDONTKNOW SHOWMESOMETHINGICANTUSE PUSHTHEBUTTONS CONNECTTHEGODDAMNDOTS] (Si Dieu existe il doit me détester...)// STEP 2 both are now on the same level
// go up the hierarchy until we reach the nearest common node
if (IS_VERBOSE_MASSIVE)
kr_log_printf(KR_LOG_FORMAT("cs_depth: %d, ct_depth: %d\n"), source->depth, target->depth);
while (c_target != c_source && source->depth > 0 && target->depth > 0)
{
// FIXME: for very deep universe structures, we might run out of space here?
// even with 512 slots? that's 256 back and forth...
// still, in a typical universe tree, we would only have around 7 levels...
// - galaxy clusters
// - galaxies
// - star clusters
// - stars
// - planets
// - moons
// - orbiters
// --> leave as is atm...
if (s_id >= PV_MAX_DEPTH ||
t_id >= PV_MAX_DEPTH)
{
kr_log_err_printf(KR_LOG_FORMAT_ERR("traversal too deep! overflowed %d max depth internal limit: s_id: %d, t_id: %d...\n"),
PV_MAX_DEPTH, s_id, t_id);
// make sure we return an initialized matrix...
matrix_4x4_identity(out);
return (FALSE);
}
a_source[s_id++] = c_source;
a_target[t_id++] = c_target;
c_source = source->parent;
c_target = target->parent;
source = pv_space_bodies + c_source;
target = pv_space_bodies + c_target;
}
if (IS_VERBOSE_MASSIVE)
kr_log_printf(KR_LOG_FORMAT("fond common body: %d (%s)\n"), c_source, source->name);
// STEP 3
source = pv_space_bodies + body;
target = pv_space_bodies + parent;
// we want to convert <source> in <target>'s coordinate frame
// we want to transform <source>, as seen by <target>.
if (!local_transforms) // if we want to transform <source>'s coordinate frame only
matrix_4x4_identity(¤t);
else // if we want to transform <source> itself, along with its local transforms
matrix_4x4_copy(&(source->local), ¤t);
m0 = ¤t;
m1 = &tmp;
// start from <source>, and un-transform everything up to the common trunk
for (i = 0; i < s_id; i++)
{
t_pv_space_body *cur;
cur = pv_space_bodies + a_source[i];
if (IS_VERBOSE_SADOMASOCHIST)
kr_log_printf(KR_LOG_FORMAT("accumulating body %s inverse transforms...\n"), cur->name);
matrix_4x4_mult(m0, &(cur->to_parent_space), m1);
swap = m0;
m0 = m1;
m1 = swap;
}
// OK, now we reached the common trunk... transform everything back up to <target>
while (t_id-- > 0)
{
t_pv_space_body *cur;
cur = pv_space_bodies + a_target[t_id];
if (IS_VERBOSE_SADOMASOCHIST)
kr_log_printf(KR_LOG_FORMAT("accumulating body %s transforms...\n"), cur->name);
matrix_4x4_mult(m0, &(cur->from_parent_space), m1);
swap = m0;
m0 = m1;
m1 = swap;
}
// we're done. apply <target>'s local transforms so we see this from <target>'s POV.
// FIXME: we _might_ need a flag to disable <target> local transformations, like <source>'s
// local transforms enabling flag, "local_transforms"
// if we do so, don't forget to change things at the beginning of the function, in the early cull block
matrix_4x4_mult(m0, &(target->local_inv), out);

HURRRR !
ask Le 27/12/2005 à 21:22 a smile that can rival the sunlight of springtime *_*

Just a cool cat in a small town
Nil Le 27/12/2005 à 22:07 C:\DOCUME~1\Josselin\LOCALS~1\Temp\WER2b21.dir00\appcompat.txt
onc que le mode local soit un mode LAN, mais joueurs sur d'autres machines...

HURRRR !
== General Information ==
Beer is the seventh moon of the giant gas planet [[Kourosis]].
=== Physical attributes ===
* '''mass:''' ''6.54e+21 Kg.''
* '''equatorial radius:''' ''0.9e+6 m''
* '''rotation period:''' ''156.12 hours, 26.02 [[Eraewin days]], 6.50 earth days''
=== Orbit ===
* '''semimajor axis:''' ''451.0369e+6 m''
* '''eccentricity:''' ''0.0078''
* '''inclination:''' ''0.0 deg''
* '''ascending node:''' ''2.0 deg''
* '''periapse:''' ''0.0 deg''
* '''period:''' ''77.98 hours, 13 [[Eraewin days]], 3.24 earth days.''
== History ==
Discovered by an alcoholic [[Dwarf]], who loved beers, bears and deers.<br>
He first saw this satellite while dipped into a deep ethylic meditation.<br>
As what he looked upon had a yellow/golden color, very much like the precious liquid, a nice amount of craters, and a polar ice cap, the good dwarf assumed he was facing a giant golden space-beer blob, with bubbles and foam...<br>
The very proud, overconfident (and most of all overjoyed) dwarf hasted to announce his rejoicing discovery to his kin, only to be painfully brought back from his hops daydreams by his saddened colleagues.<br>
Nevertheless, the name he first gave to this sattelite stayed: "Beer", as it so perfectly described the seventh moon of Kourosis.
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960
*** Ne sous-estimez pas la puissance de la Marmotte ***
©
Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina
merde, c'est compromettant ce topic mine de rien...
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960
*** Ne sous-estimez pas la puissance de la Marmotte ***
©
Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina