Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/



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


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


Ah, Algeria! Well, I'm Greek but I never miss a chance to try my French on :)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: