Slot Machine Hacker
https://www.facebook.com/codingcompetitions/hacker-cup/2011/round-1b/problems/C
Question
int getRandomNumber() {
secret = (secret * 5402147 + 54321) % 10000001;
return secret % 1000;
}Input Format
Constraints
Output Format
Sample Inputs:
Last updated