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]
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.
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
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 :)