Discrete Logarithm in Prolog

前端 未结 0 1911
死守一世寂寞
死守一世寂寞 2020-12-09 06:05

I would like to check which of the two programs will stop:

P1() {
   X = 819688;
   while (X != 77) {
      X = (X*12367+3466) mod 4294967296;
   }
}

P2() {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题