문제: For each such set of values you are to determine the length of the cycle of pseudo-random numbers that will be generated. But be careful -- the cycle might not begin with the seed!
출력: the length of the sequence of pseudo-random numbers before the sequence is repeated.
iktk 3년 전
출력 부분만 읽고 풀다가 맞왜틀을 해버렸는데 다른 분들 의견이 궁금합니다.
문제: For each such set of values you are to determine the length of the cycle of pseudo-random numbers that will be generated. But be careful -- the cycle might not begin with the seed!
출력: the length of the sequence of pseudo-random numbers before the sequence is repeated.