face++

This program has been disqualified.


Authorjibancanyang
Submission date2017-10-10 07:57:15.684440
Rating5412
Matches played1
Win rate100.0

Source code:

import time 

if input == "": # initialize variables for the first round
	rockCount = paperCount = scissorsCount = 0
elif input == "R":
	rockCount += 1
elif input == "P":
	paperCount += 1
elif input == "S":
	scissorsCount += 1


act = ["S", "R", "P"]

x = int(time.time() / 123 * time.time() * 1341735)

x = x % 144713
x = x * x * x
x = x % 13 + x % 17 + x % 233 + int(str(x)[-3: -1])
x = x ** ((x % 7 + 1)) % 123213123
x = x % 13 + x % 17 + x % 233 + int(str(x)[-3: -1])
output = act[x % 3]
print(x, output)