Bit Array You are given four integers: , , , . You will use them in order to create the sequence with the following pseudo-code.a[0] = S (modulo 2^31) for i = 1 to N-1 a[i] = a[i-1]*P+Q (modulo 2^31) Your task is to calculate the number of distinct integers in the sequence .Input FormatFour space separated integers on a single line, , , , and respectively.Output FormatA single integer that denotes the num.. 더보기 이전 1 ··· 26 27 28 29 30 31 32 ··· 108 다음