top | item 42064334

(no title)

EgoIsMyFriend | 1 year ago

thank you for the passionate response!

If you have a bit of time to translate the problems I was talking about from french to english here they are for example: (2022 - exercise 3) [0] solution [1], directory of past exams[2]

[0] https://perso.usthb.dz/~aisli/AmarIsli_files/M2SII/Corriges/...

[1] https://perso.usthb.dz/~aisli/AmarIsli_files/M2SII/Corriges/...

[2]https://perso.usthb.dz/~aisli/AmarIsli_files/M2SII/Corriges/

discuss

order

YeGoblynQueenne|1 year ago

Mmouais, quesque j'ai dit? C'est pas comme ça qu' on represente les matrices en Prolog. Pas comme une liste mais comme un terme qu' on utilise comme un tableau 2d (array) en row-major ordre. Sinon c'est le bordel.

J'ai une implementation la dedans:

https://github.com/stassa/ijclr_2024_experiments/tree/master...

Mais c'est un peut partout, dans deux ou trois fichiers, pas facile a trouver.

En tout cas, c'est pas une bonne exercise pour Prolog, une matrice. J'aurais preferrer une balanced heap, par example.

Et avec des transposees en plus. Non mais il est debile le prof?

Apologies for the lack of proper punctuation :)

EgoIsMyFriend|1 year ago

haha wasn't expecting the french response. I wish I spoke it that well. But yeah, the university I was in (usthb) is notorious (in algeria) for having the most difficult exams so stuff like this is expected